fix: default vars in tweaks
This commit is contained in:
parent
4e9fea5bc3
commit
40a500a3eb
13
roles/os_tweaks/defaults/main.yml
Normal file
13
roles/os_tweaks/defaults/main.yml
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
tweaks_install_pkg:
|
||||
- vim
|
||||
- htop
|
||||
- iftop
|
||||
- iotop
|
||||
- bash-completion
|
||||
- lsof
|
||||
- tree
|
||||
- psmisc
|
||||
- git
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
vars:
|
||||
base_config:
|
||||
tasks:
|
||||
- install custom packages
|
||||
- "install custom packages: {{ tweaks_install_pkg|join(' ') }}"
|
||||
- configure bash
|
||||
- configure git
|
||||
- configure vim
|
||||
@ -15,16 +15,7 @@
|
||||
|
||||
- name: Ensure base packages are installed
|
||||
package:
|
||||
name:
|
||||
- vim
|
||||
- htop
|
||||
- iftop
|
||||
- iotop
|
||||
- bash-completion
|
||||
- lsof
|
||||
- tree
|
||||
- psmisc
|
||||
- git
|
||||
name: "{{ tweaks_install_pkg }}"
|
||||
state: present
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user