Matej Focko
3f8215fcc0
Check for distribution when running distro-specific actions. Signed-off-by: Matej Focko <mfocko@redhat.com>
20 lines
406 B
YAML
20 lines
406 B
YAML
---
|
|
- name: Bootstrap installation
|
|
hosts: all
|
|
gather_facts: yes
|
|
roles:
|
|
- role: fedora
|
|
become: yes
|
|
become_method: sudo
|
|
vars:
|
|
# set to "local" or "remote"
|
|
source: "local"
|
|
when: ansible_distribution == "Fedora"
|
|
- flatpaks
|
|
- ssh
|
|
- shell
|
|
- role: git
|
|
vars:
|
|
git_email: <insert-email>
|
|
gpg_signingkey: <insert-id>
|
|
- vscode
|