Skip to content

Commit 2be8f64

Browse files
committed
changed start and reload handler calls to restart
1 parent bc5c2f7 commit 2be8f64

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

handlers/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
state: started
1010
enabled: true
1111

12-
- name: "(Handler: All OSs) Reload NGINX"
12+
- name: "(Handler: All OSs) Restart NGINX"
1313
service:
1414
name: nginx
15-
state: reloaded
15+
state: restarted
1616

1717
when:
1818
- nginx_start | bool

tasks/configure-app-protect.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535

3636
- name: "Reload NGINX"
3737
debug:
38-
msg: "trigger nginx reloaded if needed"
39-
notify: "(Handler: All OSs) Reload NGINX"
38+
msg: "trigger nginx reload if needed"
39+
notify: "(Handler: All OSs) Restart NGINX"
4040
changed_when: app_protect_security_policy_template_enable or app_protect_log_policy_template_enable or nginx_conf_template_enable

tasks/install-app-protect-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
package:
1010
name: "app-protect{{ nginx_version | default('') }}"
1111
state: "{{ app_protect_state }}"
12-
notify: "(Handler: All OSs) Start NGINX"
12+
notify: "(Handler: All OSs) Restart NGINX"
1313

1414
# - name: "Start NGINX App Protect"
1515
# service:

tasks/install-signatures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
package:
1919
name: "app-protect-attack-signatures"
2020
state: "{{ app_protect_state }}"
21-
notify: "(Handler: All OSs) Start NGINX"
21+
notify: "(Handler: All OSs) Restart NGINX"

0 commit comments

Comments
 (0)