Start adding vagrant

This commit is contained in:
Tunui Franken 2023-08-10 09:44:13 +02:00
parent 15e1cfae71
commit eeccfa8a0a
3 changed files with 19 additions and 0 deletions

View file

@ -38,3 +38,4 @@
- {role: etckeeper, tags: etckeeper} - {role: etckeeper, tags: etckeeper}
- {role: neomutt, tags: neomutt} - {role: neomutt, tags: neomutt}
- {role: profanity, tags: profanity} - {role: profanity, tags: profanity}
- {role: vagrant, tags: vagrant}

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: check-sudo

View file

@ -0,0 +1,15 @@
---
- name: Install packages (Archlinux)
become: true
community.general.pacman:
name:
- vagrant
when: ansible_facts['distribution'] == 'Archlinux'
- name: Install packages (Debian)
become: true
ansible.builtin.apt:
name:
- vagrant
- vagrant-libvirt
when: ansible_facts['distribution'] == 'Debian'