Browse Source

Update fetch_control_plane_credentials.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 years ago
parent
commit
130d1b088a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      roles/cluster_validation/tasks/fetch_control_plane_credentials.yml

+ 12 - 0
roles/cluster_validation/tasks/fetch_control_plane_credentials.yml

@@ -36,6 +36,18 @@
     grafana_password: '{{ grafana_password }}'
   no_log: True
 
+- block:
+    - name: Save variables of ipa server from Management Station
+      set_fact:
+        ms_ipa_admin_password: '{{ ms_ipa_admin_password }}'
+      no_log: True
+
+    - name: Include ipa server hostname and domain name
+      include_vars: "{{ ipa_secret_file }}"
+  when:
+    - login_node_required
+    - ipa_server_ms
+
 - name: Create ansible vault key
   set_fact:
     vault_key: "{{ lookup('password', '/dev/null chars=ascii_letters') }}"