Skip to content
Snippets Groups Projects
Commit 375500df authored by Thomas Woerner's avatar Thomas Woerner
Browse files

roles/ipaclient/tasks/install.yml: Set no_log:yes for OTP generation and usage

parent 4918ac50
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
# if ipaclient_use_otp is set. # if ipaclient_use_otp is set.
- block: - block:
- name: Install - Get a One-Time Password for client enrollment - name: Install - Get a One-Time Password for client enrollment
no_log: yes
ipahost: ipahost:
state: present state: present
principal: "{{ ipaadmin_principal | default('admin') }}" principal: "{{ ipaadmin_principal | default('admin') }}"
...@@ -61,6 +62,7 @@ ...@@ -61,6 +62,7 @@
delegate_to: "{{ ipadiscovery.servers[0] }}" delegate_to: "{{ ipadiscovery.servers[0] }}"
- name: Install - Store the previously obtained OTP - name: Install - Store the previously obtained OTP
no_log: yes
set_fact: set_fact:
ipaadmin_password: "{{ ipahost_output.host.randompassword if ipahost_output.host is defined }}" ipaadmin_password: "{{ ipahost_output.host.randompassword if ipahost_output.host is defined }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment