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
|
hosts: all
|
||||||
|
gather_facts: yes
|
||||||
roles:
|
roles:
|
||||||
- role: fedora
|
- role: fedora
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
vars:
|
vars:
|
||||||
# set to "local" or "remote"
|
# set to "local" or "remote"
|
||||||
source: "local"
|
source: "local"
|
||||||
|
when: ansible_distribution == "Fedora"
|
||||||
- flatpaks
|
- flatpaks
|
||||||
- ssh
|
- ssh
|
||||||
- shell
|
- shell
|
Loading…
Reference in a new issue