Skip to content

Commit

Permalink
Aphabetical ordering of handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Dec 27, 2018
1 parent 31cc013 commit d3bba70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 3 additions & 7 deletions handlers/main.yml
@@ -1,16 +1,12 @@
---
# handlers file for reboot
- name: wait for the start of reboot
- name: 1 wait for the start of reboot
pause:
seconds: "{{ reboot_delay }}"
notify:
- wait for the machine to be up

- name: wait for the machine to be up
- name: 2 wait for the machine to be up
wait_for_connection:
delay: "{{ reboot_up_delay }}"
notify:
- gather facts after reboot

- name: gather facts after reboot
- name: 3 gather facts after reboot
setup:
4 changes: 3 additions & 1 deletion tasks/main.yml
Expand Up @@ -27,7 +27,9 @@
- (needsrestarting.skipped is defined and needsrestarting.skipped )
or needsrestarting.changed
notify:
- wait for the start of reboot
- 1 wait for the start of reboot
- 2 wait for the machine to be up
- 3 gather facts after reboot
tags:
- skip_ansible_lint

Expand Down

0 comments on commit d3bba70

Please sign in to comment.