Start adding vagrant
This commit is contained in:
parent
15e1cfae71
commit
eeccfa8a0a
3 changed files with 19 additions and 0 deletions
|
@ -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}
|
||||||
|
|
3
roles/vagrant/meta/main.yml
Normal file
3
roles/vagrant/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
15
roles/vagrant/tasks/main.yml
Normal file
15
roles/vagrant/tasks/main.yml
Normal 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'
|
Loading…
Add table
Reference in a new issue