Skip to content

Commit 557e857

Browse files
committed
handler order
1 parent 91088a9 commit 557e857

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

handlers/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
- name: "(Handler: All OSs) Enable SELinux"
44
include_tasks: configure-selinux.yml
55

6+
- name: "(Handler: All OSs) Check NGINX"
7+
command: "nginx -t"
8+
changed_when: false
9+
610
- name: "(Handler: All OSs) Run NGINX"
711
block:
812

@@ -22,7 +26,3 @@
2226
when:
2327
- nginx_start | bool
2428
- not ansible_check_mode
25-
26-
- name: "(Handler: All OSs) Check NGINX"
27-
command: "nginx -t"
28-
changed_when: false

0 commit comments

Comments
 (0)