Ansible check mode fails if NGINX is not installed (#497)
This commit is contained in:
parent
bc7dfad541
commit
16d1d18d6c
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.23.1 (Unreleased)
|
||||||
|
|
||||||
|
BUG FIXES:
|
||||||
|
|
||||||
|
Ansible check mode runs will no longer fail if NGINX has not yet been installed.
|
||||||
|
|
||||||
## 0.23.0 (February 16, 2022)
|
## 0.23.0 (February 16, 2022)
|
||||||
|
|
||||||
BREAKING CHANGES:
|
BREAKING CHANGES:
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
failed_when: config_check.rc != 0
|
failed_when: config_check.rc != 0
|
||||||
when:
|
when:
|
||||||
- config_check.stderr_lines is defined
|
- config_check.stderr_lines is defined
|
||||||
|
- config_check.stderr_lines != []
|
||||||
- config_check.rc != 0
|
- config_check.rc != 0
|
||||||
- nginx_state != "absent"
|
- nginx_state != "absent"
|
||||||
listen: (Handler) Run NGINX
|
listen: (Handler) Run NGINX
|
||||||
|
Loading…
Reference in New Issue
Block a user