feat(bootstrap): check for distribution
Check for distribution when running distro-specific actions. Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
f5b7777235
commit
3f8215fcc0
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Fedora bootstrap
|
||||
- name: Bootstrap installation
|
||||
hosts: all
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- role: fedora
|
||||
become: yes
|
||||
|
@ -8,6 +9,7 @@
|
|||
vars:
|
||||
# set to "local" or "remote"
|
||||
source: "local"
|
||||
when: ansible_distribution == "Fedora"
|
||||
- flatpaks
|
||||
- ssh
|
||||
- shell
|
Loading…
Reference in a new issue