Skip to content

Commit ecd92a8

Browse files
authored
Ansible check mode fails if NGINX is not installed (#229)
1 parent a573b76 commit ecd92a8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## 0.5.0 (Unreleased)
3+
## 0.5.1 (Unreleased)
4+
5+
BUG FIXES:
6+
7+
Ansible check mode runs will no longer fail if NGINX has not yet been installed.
8+
9+
## 0.5.0 (February 17, 2022)
410

511
BREAKING CHANGES:
612

handlers/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
failed_when: config_check.rc != 0
1616
when:
1717
- config_check.stderr_lines is defined
18+
- config_check.stderr_lines != []
1819
- config_check.rc != 0
1920
listen: (Handler - NGINX Config) Run NGINX
2021

0 commit comments

Comments
 (0)