Do not log passwords
This prevents data to be leaked into the callback plugin. Change-Id: I2c281e33c1bb6bf52198e35a78b77ea3ede1f2cf
This commit is contained in:
parent
21d9c02e0f
commit
f6ee455f2b
|
@ -34,6 +34,7 @@
|
|||
name: "{{ monasca_galera_database }}"
|
||||
state: import
|
||||
target: "/opt/mon_mysql.sql"
|
||||
no_log: True
|
||||
|
||||
- name: Restart monasca services
|
||||
service:
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
keystone_project_name: "{{ keystone_admin_tenant_name }}"
|
||||
monasca_api_url: "{{ monasca_service_internalurl }}"
|
||||
register: default_notification
|
||||
no_log: True
|
||||
|
||||
- name: Create default alarm definitions
|
||||
monasca_alarm_definition:
|
||||
|
@ -51,3 +52,4 @@
|
|||
keystone_project_name: "{{ keystone_admin_tenant_name }}"
|
||||
monasca_api_url: "{{ monasca_service_internalurl }}"
|
||||
with_items: "{{ monasca_default_alarms }}"
|
||||
no_log: True
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
password: "{{ monasca_influxdb_admin_password }}"
|
||||
database_name: "{{ monasca_influxdb_database }}"
|
||||
state: present
|
||||
no_log: True
|
||||
|
||||
- name: Create influxdb retention policy for database
|
||||
influxdb_retention_policy:
|
||||
|
@ -35,6 +36,7 @@
|
|||
policy_name: persister_all
|
||||
duration: "{{ monasca_influxdb_retention_policy }}"
|
||||
replication: "{{ monasca_influxdb_replication_factor }}"
|
||||
no_log: True
|
||||
|
||||
- name: Create influxdb users
|
||||
influxdb_user:
|
||||
|
@ -47,4 +49,5 @@
|
|||
user_pass: "{{ item.password }}"
|
||||
with_items:
|
||||
- "{{ monasca_influxdb_users }}"
|
||||
no_log: True
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
until: add_service|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
no_log: True
|
||||
|
||||
# Create an admin user
|
||||
- name: Ensure monasca user
|
||||
|
@ -50,6 +51,7 @@
|
|||
until: add_user|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
|
||||
# Add a role to the user
|
||||
- name: Ensure monasca user to admin role
|
||||
|
@ -68,6 +70,7 @@
|
|||
until: add_user_role|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
|
||||
# Create monasca roles
|
||||
- name: Ensure monasca user, agent and read only roles
|
||||
|
@ -84,6 +87,7 @@
|
|||
until: add_roles|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
with_flattened:
|
||||
- "{{ monasca_user_roles }}"
|
||||
- "{{ monasca_agent_roles }}"
|
||||
|
@ -106,6 +110,7 @@
|
|||
until: add_user|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
|
||||
# Add a role to the user
|
||||
- name: Ensure monasca-agent user to monasca-agent roles
|
||||
|
@ -124,6 +129,7 @@
|
|||
until: add_user_role|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
with_items: "{{ monasca_agent_roles }}"
|
||||
|
||||
# Add a role to the user
|
||||
|
@ -143,6 +149,7 @@
|
|||
until: add_user_role|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
with_items: "{{ monasca_user_roles }}"
|
||||
|
||||
# Create an endpoint
|
||||
|
@ -168,3 +175,4 @@
|
|||
until: add_endpoint|success
|
||||
retries: 5
|
||||
delay: 10
|
||||
no_log: True
|
||||
|
|
Loading…
Reference in New Issue