refs #8142 Simplify the way to extract passwords and variables and secrets
This commit is contained in:
parent
25c7f62cc3
commit
654b263523
|
@ -66,15 +66,10 @@
|
||||||
- when: main_ad is false
|
- when: main_ad is false
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Extracting variables
|
|
||||||
no_log: true
|
|
||||||
set_fact:
|
|
||||||
passwad_admin_password: "{{ lookup(passbolt, ad_admin_password_name, folder_parent_id=passbolt_folder).password }}"
|
|
||||||
|
|
||||||
- name: Join domain
|
- name: Join domain
|
||||||
shell: samba-tool domain join "{{ realm }}" DC -U"{{ domain | upper }}\administrator"
|
shell: samba-tool domain join "{{ realm }}" DC -U"{{ domain | upper }}\administrator"
|
||||||
environment:
|
environment:
|
||||||
PASSWD: "{{ passwad_admin_password }}"
|
PASSWD: "{{ lookup(passbolt, 'ad_admin_password', folder_parent_id=passbolt_folder).password }}"
|
||||||
|
|
||||||
- name: Copy Kerberos configuration
|
- name: Copy Kerberos configuration
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in New Issue