Merge "Add sanity checks for xinetd service restart."

This commit is contained in:
Zuul 2018-06-06 23:19:57 +00:00 committed by Gerrit Code Review
commit c9a29bb632

View File

@ -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: