Restart a Service with Sleep Between Stop and Start (#82210)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/81895/head
Aditya Putta 7 months ago committed by GitHub
parent 0bab08ee33
commit 05259aa6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,6 +86,12 @@ EXAMPLES = '''
state: started
enabled: yes
- name: Sleep for 5 seconds between stop and start command of badly behaving service
ansible.builtin.sysvinit:
name: apache2
state: restarted
sleep: 5
- name: Make sure apache2 is started on runlevels 3 and 5
ansible.builtin.sysvinit:
name: apache2

Loading…
Cancel
Save