Move server packages into a vars file
This commit is contained in:
parent
854cc5b635
commit
8d07f06bac
|
@ -4,13 +4,5 @@
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: latest
|
state: latest
|
||||||
with_items:
|
with_items: "{{ server_packages }}"
|
||||||
- epel-release
|
|
||||||
- git
|
|
||||||
- lsof
|
|
||||||
- net-tools
|
|
||||||
- psmisc
|
|
||||||
- rsync
|
|
||||||
- telnet
|
|
||||||
- vim
|
|
||||||
become: true
|
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