Browse Source

Issue #561: updating install ipa server task

Signed-off-by: blesson-james <blesson_james@Dellteam.com>
blesson-james 3 years ago
parent
commit
339b8717c8
1 changed files with 3 additions and 5 deletions
  1. 3 5
      roles/login_server/tasks/install_ipa_server.yml

+ 3 - 5
roles/login_server/tasks/install_ipa_server.yml

@@ -32,10 +32,8 @@
 
 - name: Install ipa server
   command: >-
-    ipa-server-install -n '{{ hostvars['127.0.0.1']['domain_name'] }}' --hostname='{{ server_hostname }}'
-    -a '{{ hostvars['127.0.0.1']['ipa_admin_password'] }}'
-    -p '{{ hostvars['127.0.0.1']['directory_manager_password'] }}' -r '{{ hostvars['127.0.0.1']['realm_name'] }}'
-    --setup-dns --auto-forwarders --auto-reverse -U
+    ipa-server-install -n '{{ hostvars['127.0.0.1']['domain_name'] }}' --hostname='{{ server_hostname }}' -a '{{ hostvars['127.0.0.1']['ipa_admin_password'] }}'
+    -p '{{ hostvars['127.0.0.1']['directory_manager_password'] }}' -r '{{ hostvars['127.0.0.1']['realm_name'] }}' --setup-dns --auto-forwarders --auto-reverse -U
   changed_when: true
   no_log: true
 
@@ -49,4 +47,4 @@
     src: "{{ temp_resolv_conf_path }}"
     dest: "{{ resolv_conf_path }}"
     mode: "{{ file_mode }}"
-    remote_src: yes
+    remote_src: yes