Handle Silverblue

This commit is contained in:
Anthony Rose 2022-07-17 19:46:59 +01:00
parent ecbfbe45e0
commit ff813f894d
2 changed files with 7 additions and 3 deletions

View file

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
- name: Check for /run/ostree-booted
stat: path=/run/ostree-booted
register: ostree
- include_role: - include_role:
name: arch name: arch
when: ansible_distribution == 'Archlinux' when: ansible_distribution == 'Archlinux'

View file

@ -14,11 +14,11 @@
# limitations under the License. # limitations under the License.
- import_tasks: packages-cli.yml - import_tasks: packages-cli.yml
when: ostree.stat.exists == false
- import_tasks: packages-gui.yml - import_tasks: packages-gui.yml
when: gui == true when: gui == true and ostree.stat.exists == false
- import_tasks: modules.yml - import_tasks: modules.yml
- import_tasks: ssh.yml - import_tasks: ssh.yml
- import_tasks: solokeys.yml - import_tasks: solokeys.yml
- import_tasks: vscode.yml
when: gui == true
- import_tasks: packagekit.yml - import_tasks: packagekit.yml
when: ostree.stat.exists == false