dotfiles/playbooks/bootstrap.yml
Matej Focko 3f8215fcc0
feat(bootstrap): check for distribution
Check for distribution when running distro-specific actions.

Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-03-13 01:33:20 +01:00

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