File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ BUG FIXES:
17
17
18
18
* Role was failing to uninstall NGINX App Protect DoS packages when the ` nginx_app_protect_dos_state ` was set to ` absent ` .
19
19
* Uninstallation scenario was unintentionally creating repository entries.
20
+ * Ansible check mode runs will no longer fail if NGINX has not yet been installed.
20
21
21
22
## 0.7.1 (February 16, 2022)
22
23
Original file line number Diff line number Diff line change 15
15
16
16
- name : (Handler - NGINX App Protect) Check NGINX
17
17
command : nginx -t
18
- register : config
18
+ register : config_check
19
19
ignore_errors : true
20
20
changed_when : false
21
21
listen : (Handler - NGINX App Protect) Run NGINX
22
22
23
23
- name : (Handler - NGINX App Protect) Print NGINX error if syntax check fails
24
24
debug :
25
- var : config .stderr_lines
26
- failed_when : config .rc != 0
25
+ var : config_check .stderr_lines
26
+ failed_when : config_check .rc != 0
27
27
when :
28
- - config.rc is defined
29
- - config.rc != 0
28
+ - config_check.stderr_lines is defined
29
+ - config_check.stderr_lines != []
30
+ - config_check.rc != 0
30
31
listen : (Handler - NGINX App Protect) Run NGINX
You can’t perform that action at this time.
0 commit comments