diff options
| author | Stephen Smoogen <smooge@redhat.com> | 2017-06-26 18:30:27 +0000 |
|---|---|---|
| committer | Stephen Smoogen <smooge@redhat.com> | 2017-06-26 18:30:27 +0000 |
| commit | eb97e01e9d10834bd4e643d7330d9db72fabfe2a (patch) | |
| tree | 8bb9470b1df45aad5bc89918390b7591331ac56f /roles/rsyncd | |
| parent | 6bbaa44b27dc8b9002497d98a5c522325a30926a (diff) | |
| download | ansible-eb97e01e9d10834bd4e643d7330d9db72fabfe2a.tar.gz ansible-eb97e01e9d10834bd4e643d7330d9db72fabfe2a.tar.xz ansible-eb97e01e9d10834bd4e643d7330d9db72fabfe2a.zip | |
well looks like I didnt commit this afterall
Diffstat (limited to 'roles/rsyncd')
| -rw-r--r-- | roles/rsyncd/tasks/main.yml | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/roles/rsyncd/tasks/main.yml b/roles/rsyncd/tasks/main.yml index 79ae10e6c..145f9d440 100644 --- a/roles/rsyncd/tasks/main.yml +++ b/roles/rsyncd/tasks/main.yml @@ -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: |
