fix this variable issue another way
This commit is contained in:
parent
acad15248c
commit
a5baef4d61
3 changed files with 5 additions and 3 deletions
|
@ -2,4 +2,5 @@
|
||||||
gw: 10.5.126.254
|
gw: 10.5.126.254
|
||||||
eth0_ip: 10.5.126.96
|
eth0_ip: 10.5.126.96
|
||||||
eth1_ip: 10.5.127.104
|
eth1_ip: 10.5.127.104
|
||||||
host_group: download-phx2-tier1
|
# This is a tier1 only host
|
||||||
|
rsyncd_conf: "rsyncd.conf.download-{{ datacenter }}-tier1"
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
gw: 10.5.126.254
|
gw: 10.5.126.254
|
||||||
eth0_ip: 10.5.126.97
|
eth0_ip: 10.5.126.97
|
||||||
eth1_ip: 10.5.127.105
|
eth1_ip: 10.5.127.105
|
||||||
host_group: download-phx2-tier1
|
# This is a tier1 only host
|
||||||
|
rsyncd_conf: "rsyncd.conf.download-{{ datacenter }}-tier1"
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
- name: rsyncd.conf file
|
- name: rsyncd.conf file
|
||||||
copy: src={{ item }} dest=/etc/rsyncd.conf mode=0644
|
copy: src={{ item }} dest=/etc/rsyncd.conf mode=0644
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- rsyncd.conf.{{ rsync_group }}
|
|
||||||
- "{{ rsyncd_conf }}"
|
- "{{ rsyncd_conf }}"
|
||||||
- rsyncd.conf.{{ inventory_hostname }}
|
- rsyncd.conf.{{ inventory_hostname }}
|
||||||
- rsyncd.conf.{{ host_group }}
|
- rsyncd.conf.{{ host_group }}
|
||||||
|
- rsyncd.conf.{{ rsync_group }}
|
||||||
- rsyncd.conf.default
|
- rsyncd.conf.default
|
||||||
notify:
|
notify:
|
||||||
- restart xinetd
|
- restart xinetd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue