fix: remove useless no_log variable

This commit is contained in:
Adrien Waksberg 2020-04-04 22:48:52 +02:00
parent d2568959cb
commit d90791d467
5 changed files with 4 additions and 13 deletions

View file

@ -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

View file

@ -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

View file

@ -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 }}'

View file

@ -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

View file

@ -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