dotfiles/playbooks/bootstrap.yml
Matej Focko 7016137fa4
feat(suse): add openSUSE to bootstrap playbook
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-23 13:24:17 +02:00

25 lines
635 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"
- role: opensuse
become: yes
become_method: sudo
when: ansible_distribution in ("openSUSE Leap", "openSUSE Tumbleweed")
- role: flatpaks
when: ansible_distribution not in ("openSUSE Leap", "openSUSE Tumbleweed")
- ssh
- shell
- role: git
vars:
git_email: <insert-email>
gpg_signingkey: <insert-id>
- vscode