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

ipaserver: Use result_ prefix for results

parent bc253e72
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
secondary_rid_base: "{{ ipaserver_secondary_rid_base | default(omit) }}" secondary_rid_base: "{{ ipaserver_secondary_rid_base | default(omit) }}"
### additional ### ### additional ###
register: ipaserver_test register: result_ipaserver_test
- block: - block:
...@@ -100,11 +100,11 @@ ...@@ -100,11 +100,11 @@
ipaserver_master_password: ipaserver_master_password:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
master_password: "{{ ipaserver_master_password | default(omit) }}" master_password: "{{ ipaserver_master_password | default(omit) }}"
register: ipaserver_master_password register: result_ipaserver_master_password
- name: Install - Use new master password - name: Install - Use new master password
set_fact: set_fact:
ipaserver_master_password: "{{ ipaserver_master_password.password }}" ipaserver_master_password: "{{ result_ipaserver_master_password.password }}"
when: ipaserver_master_password is undefined when: ipaserver_master_password is undefined
...@@ -112,24 +112,24 @@ ...@@ -112,24 +112,24 @@
ipaserver_prepare: ipaserver_prepare:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
##ip_addresses: "{{ ipaserver_test.ip_addresses }}" ##ip_addresses: "{{ result_ipaserver_test.ip_addresses }}"
reverse_zones: "{{ ipaserver_test.reverse_zones }}" reverse_zones: "{{ result_ipaserver_test.reverse_zones }}"
setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
setup_kra: "{{ ipaserver_test.setup_kra }}" setup_kra: "{{ result_ipaserver_test.setup_kra }}"
setup_dns: "{{ ipaserver_setup_dns }}" setup_dns: "{{ ipaserver_setup_dns }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
no_host_dns: "{{ ipaserver_test.no_host_dns }}" no_host_dns: "{{ result_ipaserver_test.no_host_dns }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
no_reverse: "{{ ipaserver_no_reverse }}" no_reverse: "{{ ipaserver_no_reverse }}"
auto_reverse: "{{ ipaserver_auto_reverse }}" auto_reverse: "{{ ipaserver_auto_reverse }}"
auto_forwarders: "{{ ipaserver_auto_forwarders }}" auto_forwarders: "{{ ipaserver_auto_forwarders }}"
#no_pkinit: "{{ ipaserver_test.no_pkinit }}" #no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
_hostname_overridden: "{{ ipaserver_test._hostname_overridden }}" _hostname_overridden: "{{ result_ipaserver_test._hostname_overridden }}"
register: ipaserver_prepare register: result_ipaserver_prepare
- name: Install - Setup NTP - name: Install - Setup NTP
ipaserver_setup_ntp: ipaserver_setup_ntp:
...@@ -140,174 +140,174 @@ ...@@ -140,174 +140,174 @@
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
#master_password: "{{ ipaserver_master_password }}" #master_password: "{{ ipaserver_master_password }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm | default(omit) }}" realm: "{{ result_ipaserver_test.realm | default(omit) }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
#ip_addresses: "{{ ipaserver_test.ip_addresses }}" #ip_addresses: "{{ result_ipaserver_test.ip_addresses }}"
#reverse_zones: "{{ ipaserver_test.reverse_zones }}" #reverse_zones: "{{ result_ipaserver_test.reverse_zones }}"
#setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" #setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
#setup_kra: "{{ ipaserver_test.setup_kra }}" #setup_kra: "{{ result_ipaserver_test.setup_kra }}"
#setup_dns: "{{ ipaserver_setup_dns }}" #setup_dns: "{{ ipaserver_setup_dns }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
#no_host_dns: "{{ ipaserver_test.no_host_dns }}" #no_host_dns: "{{ result_ipaserver_test.no_host_dns }}"
dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}" dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}"
dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}" dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}"
external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}" external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
#no_reverse: "{{ ipaserver_no_reverse }}" #no_reverse: "{{ ipaserver_no_reverse }}"
#auto_forwarders: "{{ ipaserver_auto_forwarders }}" #auto_forwarders: "{{ ipaserver_auto_forwarders }}"
no_pkinit: "{{ ipaserver_test.no_pkinit }}" no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
no_hbac_allow: "{{ ipaserver_no_hbac_allow }}" no_hbac_allow: "{{ ipaserver_no_hbac_allow }}"
idstart: "{{ ipaserver_test.idstart }}" idstart: "{{ result_ipaserver_test.idstart }}"
idmax: "{{ ipaserver_test.idmax }}" idmax: "{{ result_ipaserver_test.idmax }}"
- name: Install - Setup KRB - name: Install - Setup KRB
ipaserver_setup_krb: ipaserver_setup_krb:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
master_password: "{{ ipaserver_master_password }}" master_password: "{{ ipaserver_master_password }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
#ip_addresses: "{{ ipaserver_test.ip_addresses }}" #ip_addresses: "{{ result_ipaserver_test.ip_addresses }}"
reverse_zones: "{{ ipaserver_test.reverse_zones }}" reverse_zones: "{{ result_ipaserver_test.reverse_zones }}"
setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
setup_kra: "{{ ipaserver_test.setup_kra }}" setup_kra: "{{ result_ipaserver_test.setup_kra }}"
setup_dns: "{{ ipaserver_setup_dns }}" setup_dns: "{{ ipaserver_setup_dns }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
no_host_dns: "{{ ipaserver_test.no_host_dns }}" no_host_dns: "{{ result_ipaserver_test.no_host_dns }}"
external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}" external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
no_reverse: "{{ ipaserver_no_reverse }}" no_reverse: "{{ ipaserver_no_reverse }}"
auto_forwarders: "{{ ipaserver_auto_forwarders }}" auto_forwarders: "{{ ipaserver_auto_forwarders }}"
no_pkinit: "{{ ipaserver_test.no_pkinit }}" no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
no_hbac_allow: "{{ ipaserver_no_hbac_allow }}" no_hbac_allow: "{{ ipaserver_no_hbac_allow }}"
idstart: "{{ ipaserver_test.idstart }}" idstart: "{{ result_ipaserver_test.idstart }}"
idmax: "{{ ipaserver_test.idmax }}" idmax: "{{ result_ipaserver_test.idmax }}"
_pkinit_pkcs12_info: "{{ ipaserver_test._pkinit_pkcs12_info }}" _pkinit_pkcs12_info: "{{ result_ipaserver_test._pkinit_pkcs12_info }}"
- name: Install - Setup CA - name: Install - Setup CA
ipaserver_setup_ca: ipaserver_setup_ca:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
master_password: "{{ ipaserver_master_password }}" master_password: "{{ ipaserver_master_password }}"
#ip_addresses: "{{ ipaserver_test.ip_addresses }}" #ip_addresses: "{{ result_ipaserver_test.ip_addresses }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
no_host_dns: "{{ ipaserver_test.no_host_dns }}" no_host_dns: "{{ result_ipaserver_test.no_host_dns }}"
setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
setup_kra: "{{ ipaserver_test.setup_kra }}" setup_kra: "{{ result_ipaserver_test.setup_kra }}"
setup_dns: "{{ ipaserver_setup_dns }}" setup_dns: "{{ ipaserver_setup_dns }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
idstart: "{{ ipaserver_test.idstart }}" idstart: "{{ result_ipaserver_test.idstart }}"
idmax: "{{ ipaserver_test.idmax }}" idmax: "{{ result_ipaserver_test.idmax }}"
no_hbac_allow: "{{ ipaserver_no_hbac_allow }}" no_hbac_allow: "{{ ipaserver_no_hbac_allow }}"
no_pkinit: "{{ ipaserver_test.no_pkinit }}" no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}" dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}"
dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}" dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}"
_dirsrv_pkcs12_info: "{{ ipaserver_test._dirsrv_pkcs12_info }}" _dirsrv_pkcs12_info: "{{ result_ipaserver_test._dirsrv_pkcs12_info }}"
external_ca: "{{ ipaserver_external_ca }}" external_ca: "{{ ipaserver_external_ca }}"
external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}" external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
_subject_base: "{{ ipaserver_test._subject_base }}" _subject_base: "{{ result_ipaserver_test._subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
_ca_subject: "{{ ipaserver_test._ca_subject }}" _ca_subject: "{{ result_ipaserver_test._ca_subject }}"
ca_signing_algorithm: "{{ ipaserver_ca_signing_algorithm | default(omit) }}" ca_signing_algorithm: "{{ ipaserver_ca_signing_algorithm | default(omit) }}"
reverse_zones: "{{ ipaserver_test.reverse_zones }}" reverse_zones: "{{ result_ipaserver_test.reverse_zones }}"
no_reverse: "{{ ipaserver_no_reverse }}" no_reverse: "{{ ipaserver_no_reverse }}"
auto_forwarders: "{{ ipaserver_auto_forwarders }}" auto_forwarders: "{{ ipaserver_auto_forwarders }}"
- name: Install - Setup otpd - name: Install - Setup otpd
ipaserver_setup_otpd: ipaserver_setup_otpd:
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
- name: Install - Setup custodia - name: Install - Setup custodia
ipaserver_setup_custodia: ipaserver_setup_custodia:
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
- name: Install - Setup HTTP - name: Install - Setup HTTP
ipaserver_setup_http: ipaserver_setup_http:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
master_password: "{{ ipaserver_master_password }}" master_password: "{{ ipaserver_master_password }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
#ip_addresses: "{{ ipaserver_test.ip_addresses }}" #ip_addresses: "{{ result_ipaserver_test.ip_addresses }}"
reverse_zones: "{{ ipaserver_test.reverse_zones }}" reverse_zones: "{{ result_ipaserver_test.reverse_zones }}"
setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
setup_kra: "{{ ipaserver_test.setup_kra }}" setup_kra: "{{ result_ipaserver_test.setup_kra }}"
setup_dns: "{{ ipaserver_setup_dns }}" setup_dns: "{{ ipaserver_setup_dns }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
no_host_dns: "{{ ipaserver_test.no_host_dns }}" no_host_dns: "{{ result_ipaserver_test.no_host_dns }}"
dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}" dirsrv_cert_files: "{{ ipaserver_dirsrv_cert_files | default([]) }}"
external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}" external_cert_files: "{{ ipaserver_external_cert_files | default([]) }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
_subject_base: "{{ ipaserver_test._subject_base }}" _subject_base: "{{ result_ipaserver_test._subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
_ca_subject: "{{ ipaserver_test._ca_subject }}" _ca_subject: "{{ result_ipaserver_test._ca_subject }}"
no_reverse: "{{ ipaserver_no_reverse }}" no_reverse: "{{ ipaserver_no_reverse }}"
auto_forwarders: "{{ ipaserver_auto_forwarders }}" auto_forwarders: "{{ ipaserver_auto_forwarders }}"
no_pkinit: "{{ ipaserver_test.no_pkinit }}" no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
no_hbac_allow: "{{ ipaserver_no_hbac_allow }}" no_hbac_allow: "{{ ipaserver_no_hbac_allow }}"
idstart: "{{ ipaserver_test.idstart }}" idstart: "{{ result_ipaserver_test.idstart }}"
idmax: "{{ ipaserver_test.idmax }}" idmax: "{{ result_ipaserver_test.idmax }}"
http_cert_files: "{{ ipaserver_http_cert_files | default([]) }}" http_cert_files: "{{ ipaserver_http_cert_files | default([]) }}"
no_ui_redirect: "{{ ipaserver_no_ui_redirect }}" no_ui_redirect: "{{ ipaserver_no_ui_redirect }}"
- name: Install - Setup KRA - name: Install - Setup KRA
ipaserver_setup_kra: ipaserver_setup_kra:
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
setup_kra: "{{ ipaserver_test.setup_kra }}" setup_kra: "{{ result_ipaserver_test.setup_kra }}"
when: ipaserver_test.setup_kra | bool when: result_ipaserver_test.setup_kra | bool
- name: Install - Setup DNS - name: Install - Setup DNS
ipaserver_setup_dns: ipaserver_setup_dns:
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
setup_dns: "{{ ipaserver_setup_dns }}" setup_dns: "{{ ipaserver_setup_dns }}"
forwarders: "{{ ipaserver_test.forwarders | default(omit) }}" forwarders: "{{ result_ipaserver_test.forwarders | default(omit) }}"
forward_policy: "{{ ipaserver_forward_policy | default(omit) }}" forward_policy: "{{ ipaserver_forward_policy | default(omit) }}"
zonemgr: "{{ ipaserver_zonemgr | default(omit) }}" zonemgr: "{{ ipaserver_zonemgr | default(omit) }}"
no_dnssec_validation: "{{ ipaserver_no_dnssec_validation }}" no_dnssec_validation: "{{ ipaserver_no_dnssec_validation }}"
### additional ### ### additional ###
dns_ip_addresses: "{{ ipaserver_test.dns_ip_addresses }}" dns_ip_addresses: "{{ result_ipaserver_test.dns_ip_addresses }}"
dns_reverse_zones: "{{ ipaserver_test.dns_reverse_zones }}" dns_reverse_zones: "{{ result_ipaserver_test.dns_reverse_zones }}"
when: ipaserver_setup_dns | bool when: ipaserver_setup_dns | bool
- name: Install - Setup ADTRUST - name: Install - Setup ADTRUST
ipaserver_setup_adtrust: ipaserver_setup_adtrust:
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
setup_adtrust: "{{ ipaserver_test.setup_adtrust }}" setup_adtrust: "{{ result_ipaserver_test.setup_adtrust }}"
when: ipaserver_test.setup_adtrust when: result_ipaserver_test.setup_adtrust
- name: Install - Set DS password - name: Install - Set DS password
ipaserver_set_ds_password: ipaserver_set_ds_password:
dm_password: "{{ ipadm_password }}" dm_password: "{{ ipadm_password }}"
password: "{{ ipaadmin_password }}" password: "{{ ipaadmin_password }}"
domain: "{{ ipaserver_test.domain }}" domain: "{{ result_ipaserver_test.domain }}"
realm: "{{ ipaserver_test.realm }}" realm: "{{ result_ipaserver_test.realm }}"
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
subject_base: "{{ ipaserver_test.subject_base }}" subject_base: "{{ result_ipaserver_test.subject_base }}"
ca_subject: "{{ ipaserver_test.ca_subject }}" ca_subject: "{{ result_ipaserver_test.ca_subject }}"
no_pkinit: "{{ ipaserver_test.no_pkinit }}" no_pkinit: "{{ result_ipaserver_test.no_pkinit }}"
no_hbac_allow: "{{ ipaserver_no_hbac_allow }}" no_hbac_allow: "{{ ipaserver_no_hbac_allow }}"
idstart: "{{ ipaserver_test.idstart }}" idstart: "{{ result_ipaserver_test.idstart }}"
idmax: "{{ ipaserver_test.idmax }}" idmax: "{{ result_ipaserver_test.idmax }}"
dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}" dirsrv_config_file: "{{ ipaserver_dirsrv_config_file | default(omit) }}"
_dirsrv_pkcs12_info: "{{ ipaserver_test._dirsrv_pkcs12_info }}" _dirsrv_pkcs12_info: "{{ result_ipaserver_test._dirsrv_pkcs12_info }}"
#- name: Install - Setup client #- name: Install - Setup client
# include_role: # include_role:
...@@ -319,10 +319,10 @@ ...@@ -319,10 +319,10 @@
# vars: # vars:
# state: present # state: present
# on_master: yes # on_master: yes
# domain: "{{ ipaserver_test.domain }}" # domain: "{{ result_ipaserver_test.domain }}"
# realm: "{{ ipaserver_test.realm }}" # realm: "{{ result_ipaserver_test.realm }}"
# server: "{{ ipaserver_test.hostname }}" # server: "{{ result_ipaserver_test.hostname }}"
# hostname: "{{ ipaserver_test.hostname }}" # hostname: "{{ result_ipaserver_test.hostname }}"
# #no_dns_sshfp: "{{ ipaclient_no_dns_sshfp }}" # #no_dns_sshfp: "{{ ipaclient_no_dns_sshfp }}"
# #ssh_trust_dns: "{{ ipaclient_ssh_trust_dns }}" # #ssh_trust_dns: "{{ ipaclient_ssh_trust_dns }}"
# #no_ssh: "{{ ipaclient_no_ssh }}" # #no_ssh: "{{ ipaclient_no_ssh }}"
...@@ -334,10 +334,10 @@ ...@@ -334,10 +334,10 @@
/usr/sbin/ipa-client-install /usr/sbin/ipa-client-install
--unattended --unattended
--on-master --on-master
--domain "{{ ipaserver_test.domain }}" --domain "{{ result_ipaserver_test.domain }}"
--realm "{{ ipaserver_test.realm }}" --realm "{{ result_ipaserver_test.realm }}"
--server "{{ ipaserver_test.hostname }}" --server "{{ result_ipaserver_test.hostname }}"
--hostname "{{ ipaserver_test.hostname }}" --hostname "{{ result_ipaserver_test.hostname }}"
{{ "--mkhomedir" if ipaclient_mkhomedir | bool else "" }} {{ "--mkhomedir" if ipaclient_mkhomedir | bool else "" }}
# {{ "--no-dns-sshfp" if ipaclient_no_dns_sshfp | bool else "" }} # {{ "--no-dns-sshfp" if ipaclient_no_dns_sshfp | bool else "" }}
...@@ -347,12 +347,12 @@ ...@@ -347,12 +347,12 @@
- name: Install - Enable IPA - name: Install - Enable IPA
ipaserver_enable_ipa: ipaserver_enable_ipa:
hostname: "{{ ipaserver_test.hostname }}" hostname: "{{ result_ipaserver_test.hostname }}"
setup_ca: "{{ ipaserver_test.setup_ca }}" setup_ca: "{{ result_ipaserver_test.setup_ca }}"
register: ipaserver_enable_ipa register: result_ipaserver_enable_ipa
- name: Install - Cleanup root IPA cache - name: Install - Cleanup root IPA cache
file: file:
path: "/root/.ipa_cache" path: "/root/.ipa_cache"
state: absent state: absent
when: ipaserver_enable_ipa.changed when: result_ipaserver_enable_ipa.changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment