rsyncd: fix notifier case
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d30b2ecfaa
commit
1145fa67a6
1 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@
|
||||||
- rsyncd.conf.default
|
- rsyncd.conf.default
|
||||||
when: "'download' not in group_names"
|
when: "'download' not in group_names"
|
||||||
notify:
|
notify:
|
||||||
- restart daemon
|
- Restart daemon
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
- name: Rsyncd.conf file for download servers
|
- name: Rsyncd.conf file for download servers
|
||||||
ansible.builtin.template: src=rsyncd.conf.download.j2 dest=/etc/rsyncd.conf mode=0644
|
ansible.builtin.template: src=rsyncd.conf.download.j2 dest=/etc/rsyncd.conf mode=0644
|
||||||
notify:
|
notify:
|
||||||
- restart daemon
|
- Restart daemon
|
||||||
when: "'download' in group_names"
|
when: "'download' in group_names"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
- rsync.{{ rsync_group }}
|
- rsync.{{ rsync_group }}
|
||||||
- rsync.default
|
- rsync.default
|
||||||
notify:
|
notify:
|
||||||
- restart xinetd
|
- Restart xinetd
|
||||||
when: ansible_distribution_major_version|int < 9 and ansible_distribution == 'RedHat'
|
when: ansible_distribution_major_version|int < 9 and ansible_distribution == 'RedHat'
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
ansible.builtin.copy: src=rsyncd.service dest=/usr/lib/systemd/system/rsyncd.service mode=0644
|
ansible.builtin.copy: src=rsyncd.service dest=/usr/lib/systemd/system/rsyncd.service mode=0644
|
||||||
when: ansible_distribution == 'Fedora' or (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int > 8)
|
when: ansible_distribution == 'Fedora' or (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int > 8)
|
||||||
notify:
|
notify:
|
||||||
- restart daemon
|
- Restart daemon
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue