mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
fix this variable issue another way
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
gw: 10.5.126.254
|
||||
eth0_ip: 10.5.126.96
|
||||
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
|
||||
eth0_ip: 10.5.126.97
|
||||
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
|
||||
copy: src={{ item }} dest=/etc/rsyncd.conf mode=0644
|
||||
with_first_found:
|
||||
- rsyncd.conf.{{ rsync_group }}
|
||||
- "{{ rsyncd_conf }}"
|
||||
- rsyncd.conf.{{ inventory_hostname }}
|
||||
- rsyncd.conf.{{ host_group }}
|
||||
- rsyncd.conf.{{ rsync_group }}
|
||||
- rsyncd.conf.default
|
||||
notify:
|
||||
- restart xinetd
|
||||
|
||||
Reference in New Issue
Block a user