no log password when adding or updating user
This commit is contained in:
parent
8b061afa81
commit
da57e2dd65
2 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,7 @@
|
||||||
password: "{{es_api_basic_auth_password}}"
|
password: "{{es_api_basic_auth_password}}"
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
when: manage_native_users and es_users.native.keys() > 0
|
when: manage_native_users and es_users.native.keys() > 0
|
||||||
|
no_log: True
|
||||||
with_dict: "{{es_users.native}}"
|
with_dict: "{{es_users.native}}"
|
||||||
|
|
||||||
#List current roles
|
#List current roles
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
{{es_home}}/bin/shield/esusers useradd {{item}} -p {{es_users.file[item].password}}
|
{{es_home}}/bin/shield/esusers useradd {{item}} -p {{es_users.file[item].password}}
|
||||||
with_items: "{{users_to_add}}"
|
with_items: "{{users_to_add}}"
|
||||||
when: manage_file_users and users_to_add | length > 0
|
when: manage_file_users and users_to_add | length > 0
|
||||||
|
no_log: True
|
||||||
environment:
|
environment:
|
||||||
CONF_DIR: "{{ conf_dir }}"
|
CONF_DIR: "{{ conf_dir }}"
|
||||||
ES_HOME: "{{es_home}}"
|
ES_HOME: "{{es_home}}"
|
||||||
|
|
@ -43,6 +44,7 @@
|
||||||
when: manage_file_users and es_users.file.keys() | length > 0
|
when: manage_file_users and es_users.file.keys() | length > 0
|
||||||
#Currently no easy way to figure out if the password has changed or to know what it currently is so we can skip.
|
#Currently no easy way to figure out if the password has changed or to know what it currently is so we can skip.
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
no_log: True
|
||||||
environment:
|
environment:
|
||||||
CONF_DIR: "{{ conf_dir }}"
|
CONF_DIR: "{{ conf_dir }}"
|
||||||
ES_HOME: "{{es_home}}"
|
ES_HOME: "{{es_home}}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue