mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
well looks like I didnt commit this afterall
This commit is contained in:
@@ -25,14 +25,22 @@
|
||||
- rsyncd
|
||||
when: ansible_distribution_major_version|int > 21
|
||||
|
||||
# - name: rsyncd.conf file
|
||||
# copy: src={{ item }} dest=/etc/rsyncd.conf mode=0644
|
||||
# with_first_found:
|
||||
# - "{{ rsyncd_conf }}"
|
||||
# - rsyncd.conf.{{ inventory_hostname }}
|
||||
# - rsyncd.conf.{{ host_group }}
|
||||
# - rsyncd.conf.{{ rsync_group }}
|
||||
# - rsyncd.conf.default
|
||||
# notify:
|
||||
# - restart xinetd
|
||||
# tags:
|
||||
# - config
|
||||
# - rsyncd
|
||||
|
||||
- name: rsyncd.conf file
|
||||
copy: src={{ item }} dest=/etc/rsyncd.conf mode=0644
|
||||
with_first_found:
|
||||
- "{{ rsyncd_conf }}"
|
||||
- rsyncd.conf.{{ inventory_hostname }}
|
||||
- rsyncd.conf.{{ host_group }}
|
||||
- rsyncd.conf.{{ rsync_group }}
|
||||
- rsyncd.conf.default
|
||||
template: src=rsyncd.conf.download.j2 dest=/etc/rsyncd.conf mode=0644
|
||||
notify:
|
||||
- restart xinetd
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user