diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c467b8..0644e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ## [Unreleased] +### Fixed + +- remove useless no_log variable + ## [1.3.0] - 2020-04-04 ### Fixed diff --git a/README.md b/README.md index a0f2981..854d237 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ Notice: for debian9 set `sensu_repository_system` to `ubuntu` and `sensu_reposit ### Backend -* `sensu_no_log` - you can disable ansible no_log to print the errors with the backend api (default: `true`) * `sensu_backend` - enable sensu backend installation (default: `no`) * `sensu_backend_config` - hash with the optional configuration ([see sensu configuration](https://docs.sensu.io/sensu-go/latest/reference/backend/)) * `sensu_assets` - array with the asset definitions diff --git a/defaults/main.yml b/defaults/main.yml index a34353c..f96094c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,8 +2,6 @@ sensu_agent: yes sensu_backend: no -sensu_no_log: true - sensu_repository_system: '{{ ansible_distribution|lower }}' sensu_repository_release: '{{ ansible_distribution_release }}' diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index e314b89..0e6585b 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -4,10 +4,8 @@ roles: - ansible-role-sensu vars: - #sensu_api_password: test sensu_repository_system: ubuntu sensu_repository_release: xenial - sensu_no_log: false sensu_backend: yes sensu_agent_redact: - supersecret diff --git a/tasks/backend.yml b/tasks/backend.yml index f9f0fb5..139a175 100644 --- a/tasks/backend.yml +++ b/tasks/backend.yml @@ -67,7 +67,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage users @@ -83,7 +82,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage namespaces @@ -97,7 +95,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage assets @@ -114,7 +111,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage filters @@ -132,7 +128,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage mutators @@ -148,7 +143,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage handlers @@ -166,7 +160,6 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu - name: manage checks @@ -187,5 +180,4 @@ loop_control: label: '{{ item.name }}' run_once: true - no_log: '{{ sensu_no_log }}' tags: sensu