Merge "Add sanity checks for xinetd service restart."
This commit is contained in:
commit
c9a29bb632
@ -529,10 +529,13 @@ outputs:
|
||||
- openstack-swift-account
|
||||
- name: Remove rsync service from xinetd
|
||||
file: state=absent path=/etc/xinetd.d/rsync
|
||||
register: rsync_service_removed
|
||||
when: step|int == 2
|
||||
- name: Restart xinetd service after rsync removal
|
||||
when: step|int == 2
|
||||
service: name=xinetd state=restarted
|
||||
when:
|
||||
- step|int == 2
|
||||
- rsync_service_removed|changed
|
||||
update_tasks:
|
||||
- name: Ensure rsyncd pid file is absent
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user