refs #8142 Simplify the way to extract passwords and variables and secrets

This commit is contained in:
Xavi Lleó 2025-01-24 15:47:01 +01:00
parent 25c7f62cc3
commit 654b263523
1 changed files with 1 additions and 6 deletions

View File

@ -66,15 +66,10 @@
- when: main_ad is false
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
shell: samba-tool domain join "{{ realm }}" DC -U"{{ domain | upper }}\administrator"
environment:
PASSWD: "{{ passwad_admin_password }}"
PASSWD: "{{ lookup(passbolt, 'ad_admin_password', folder_parent_id=passbolt_folder).password }}"
- name: Copy Kerberos configuration
copy: