simplify script invocation
This commit is contained in:
parent
3eae0dff79
commit
e41c34591f
15 changed files with 18 additions and 62 deletions
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
all:
|
||||
ansible-playbook playbooks/all.yml
|
||||
|
||||
%:
|
||||
ansible-playbook --extra-vars "enable_roles=['$@']" playbooks/all.yml
|
|
@ -4,3 +4,15 @@ full_name: "{{ first_name }} {{ last_name }}"
|
|||
email: pim@kunis.nl
|
||||
vscodium_extensions:
|
||||
- shd101wyy.markdown-preview-enhanced
|
||||
enable_roles:
|
||||
- bash
|
||||
- alacritty
|
||||
- wireguard
|
||||
- asdf
|
||||
- neovim
|
||||
- signal
|
||||
- virtualbox
|
||||
- vscodium
|
||||
- syncthing
|
||||
- strawberry
|
||||
- nicotine
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install alacritty
|
||||
hosts: self
|
||||
roles:
|
||||
- alacritty
|
|
@ -2,21 +2,8 @@
|
|||
hosts: self
|
||||
roles:
|
||||
- system
|
||||
vars:
|
||||
my_roles:
|
||||
- bash
|
||||
- alacritty
|
||||
- wireguard
|
||||
- asdf
|
||||
- neovim
|
||||
- signal
|
||||
- virtualbox
|
||||
- vscodium
|
||||
- syncthing
|
||||
- strawberry
|
||||
- nicotine
|
||||
tasks:
|
||||
- include_tasks: "../library/rescue_role.yml"
|
||||
loop: "{{ my_roles }}"
|
||||
loop: "{{ enable_roles }}"
|
||||
loop_control:
|
||||
loop_var: item_my_role
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install asdf
|
||||
hosts: self
|
||||
roles:
|
||||
- asdf
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install bash
|
||||
hosts: self
|
||||
roles:
|
||||
- bash
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install neovim
|
||||
hosts: self
|
||||
roles:
|
||||
- neovim
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install nicotine+
|
||||
hosts: self
|
||||
roles:
|
||||
- nicotine
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Signal
|
||||
hosts: self
|
||||
roles:
|
||||
- signal
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install strawberry
|
||||
hosts: self
|
||||
roles:
|
||||
- strawberry
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Syncthing
|
||||
hosts: self
|
||||
roles:
|
||||
- syncthing
|
|
@ -1,4 +0,0 @@
|
|||
- name: Configure system
|
||||
hosts: self
|
||||
roles:
|
||||
- system
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install VirtualBox
|
||||
hosts: self
|
||||
roles:
|
||||
- virtualbox
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install VSCodium
|
||||
hosts: self
|
||||
roles:
|
||||
- vscodium
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install wireguard
|
||||
hosts: self
|
||||
roles:
|
||||
- wireguard
|
Reference in a new issue