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] ## [Unreleased]
### Fixed
- remove useless no_log variable
## [1.3.0] - 2020-04-04 ## [1.3.0] - 2020-04-04
### Fixed ### Fixed

View file

@ -67,7 +67,6 @@ Notice: for debian9 set `sensu_repository_system` to `ubuntu` and `sensu_reposit
### Backend ### 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` - 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_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 * `sensu_assets` - array with the asset definitions

View file

@ -2,8 +2,6 @@
sensu_agent: yes sensu_agent: yes
sensu_backend: no sensu_backend: no
sensu_no_log: true
sensu_repository_system: '{{ ansible_distribution|lower }}' sensu_repository_system: '{{ ansible_distribution|lower }}'
sensu_repository_release: '{{ ansible_distribution_release }}' sensu_repository_release: '{{ ansible_distribution_release }}'

View file

@ -4,10 +4,8 @@
roles: roles:
- ansible-role-sensu - ansible-role-sensu
vars: vars:
#sensu_api_password: test
sensu_repository_system: ubuntu sensu_repository_system: ubuntu
sensu_repository_release: xenial sensu_repository_release: xenial
sensu_no_log: false
sensu_backend: yes sensu_backend: yes
sensu_agent_redact: sensu_agent_redact:
- supersecret - supersecret

View file

@ -67,7 +67,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage users - name: manage users
@ -83,7 +82,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage namespaces - name: manage namespaces
@ -97,7 +95,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage assets - name: manage assets
@ -114,7 +111,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage filters - name: manage filters
@ -132,7 +128,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage mutators - name: manage mutators
@ -148,7 +143,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage handlers - name: manage handlers
@ -166,7 +160,6 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu
- name: manage checks - name: manage checks
@ -187,5 +180,4 @@
loop_control: loop_control:
label: '{{ item.name }}' label: '{{ item.name }}'
run_once: true run_once: true
no_log: '{{ sensu_no_log }}'
tags: sensu tags: sensu