Refs #8025: Rol Debian-base - task root - No log true in block
This commit is contained in:
parent
d53526bf9d
commit
69a5dc5862
|
@ -2,10 +2,10 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
root_pass_changed: "{{ vn_ini.witness.root_pass_changed | default(false) }}"
|
root_pass_changed: "{{ vn_ini.witness.root_pass_changed | default(false) }}"
|
||||||
- when: vn_witness_checked and not root_pass_changed
|
- when: vn_witness_checked and not root_pass_changed
|
||||||
block:
|
no_log: true
|
||||||
|
block:
|
||||||
- name: Search root password in Passbolt
|
- name: Search root password in Passbolt
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
no_log: true
|
|
||||||
set_fact:
|
set_fact:
|
||||||
passbolt_password: >
|
passbolt_password: >
|
||||||
{{
|
{{
|
||||||
|
@ -17,11 +17,9 @@
|
||||||
- when: passbolt_password is not defined
|
- when: passbolt_password is not defined
|
||||||
block:
|
block:
|
||||||
- name: Generate a random root password
|
- name: Generate a random root password
|
||||||
no_log: true
|
|
||||||
set_fact:
|
set_fact:
|
||||||
root_password: "{{ lookup('password', '/dev/null length=18 chars=ascii_letters,digits') }}"
|
root_password: "{{ lookup('password', '/dev/null length=18 chars=ascii_letters,digits') }}"
|
||||||
- name: Save root password into Passbolt
|
- name: Save root password into Passbolt
|
||||||
no_log: true
|
|
||||||
set_fact:
|
set_fact:
|
||||||
msg: >
|
msg: >
|
||||||
{{
|
{{
|
||||||
|
|
Loading…
Reference in New Issue