monitoring: Remove some log output that may contains secrets
This patch instructs Ansible to stop logging passwords for influxdb.
This commit is contained in:
parent
7fe14f1b0b
commit
2d916fbaa1
2 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
||||||
validate_certs: yes
|
validate_certs: yes
|
||||||
database_name: "{{ database.name }}"
|
database_name: "{{ database.name }}"
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
no_log: True
|
||||||
|
|
||||||
- name: Create retention policies
|
- name: Create retention policies
|
||||||
influxdb_retention_policy:
|
influxdb_retention_policy:
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
user_password: "{{ monitoring_influxdb_admin_password }}"
|
user_password: "{{ monitoring_influxdb_admin_password }}"
|
||||||
admin: yes
|
admin: yes
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
no_log: True
|
||||||
|
|
||||||
- name: Configure databases
|
- name: Configure databases
|
||||||
include: database.yml
|
include: database.yml
|
||||||
|
@ -51,3 +52,4 @@
|
||||||
grants: "{{ item.grants }}"
|
grants: "{{ item.grants }}"
|
||||||
loop: "{{ monitoring_influxdb_users }}"
|
loop: "{{ monitoring_influxdb_users }}"
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
no_log: True
|
||||||
|
|
Loading…
Add table
Reference in a new issue