diff --git a/CHANGELOG.md b/CHANGELOG.md index 7965bb4..26fe63c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog -## 0.17.1 (Unreleased) +## 0.17.1 (September 22, 2020) ENHANCEMENTS: * The role will no longer fail automatically on unsupported platforms, but the error message will still be displayed. +* The `Check NGINX` handler now always outputs an `ok` state instead of `changed` since it's a read-only operation with no traceable changes. ## 0.17.0 (September 20, 2020) diff --git a/handlers/main.yml b/handlers/main.yml index 9c915d1..c7dd08f 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -7,6 +7,7 @@ command: nginx -t register: config ignore_errors: yes + changed_when: false listen: (Handler) Run NGINX - name: (Handler) Print NGINX error if syntax check fails @@ -16,7 +17,7 @@ when: config.rc != 0 listen: (Handler) Run NGINX -- name: (Handler) Start/Reload NGINX +- name: (Handler) Start/reload NGINX service: name: nginx state: reloaded