Handle Silverblue
This commit is contained in:
parent
ecbfbe45e0
commit
ff813f894d
2 changed files with 7 additions and 3 deletions
4
main.yml
4
main.yml
|
@ -14,6 +14,10 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Check for /run/ostree-booted
|
||||
stat: path=/run/ostree-booted
|
||||
register: ostree
|
||||
|
||||
- include_role:
|
||||
name: arch
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
# limitations under the License.
|
||||
|
||||
- import_tasks: packages-cli.yml
|
||||
when: ostree.stat.exists == false
|
||||
- import_tasks: packages-gui.yml
|
||||
when: gui == true
|
||||
when: gui == true and ostree.stat.exists == false
|
||||
- import_tasks: modules.yml
|
||||
- import_tasks: ssh.yml
|
||||
- import_tasks: solokeys.yml
|
||||
- import_tasks: vscode.yml
|
||||
when: gui == true
|
||||
- import_tasks: packagekit.yml
|
||||
when: ostree.stat.exists == false
|
||||
|
|
Loading…
Reference in a new issue