Move server packages into a vars file
This commit is contained in:
parent
854cc5b635
commit
8d07f06bac
|
@ -4,13 +4,5 @@
|
|||
yum:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
with_items:
|
||||
- epel-release
|
||||
- git
|
||||
- lsof
|
||||
- net-tools
|
||||
- psmisc
|
||||
- rsync
|
||||
- telnet
|
||||
- vim
|
||||
with_items: "{{ server_packages }}"
|
||||
become: true
|
9
.ansible/roles/home_server/vars/main.yaml
Normal file
9
.ansible/roles/home_server/vars/main.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
server_packages:
|
||||
- epel-release
|
||||
- git
|
||||
- lsof
|
||||
- net-tools
|
||||
- psmisc
|
||||
- rsync
|
||||
- telnet
|
||||
- vim
|
Loading…
Reference in a new issue