Merge "Make tls_everywhere validations compatible with ansible_facts"
This commit is contained in:
commit
231bed4770
|
@ -133,7 +133,7 @@
|
||||||
|
|
||||||
- name: Set fact for IdM/FreeIPA host entry
|
- name: Set fact for IdM/FreeIPA host entry
|
||||||
set_fact:
|
set_fact:
|
||||||
host_entry: "{{ ansible_fqdn }}@{{ ipa_realm.value }}"
|
host_entry: "{{ ansible_facts['fqdn'] }}@{{ ipa_realm.value }}"
|
||||||
when: ipa_conf_stat.stat.exists
|
when: ipa_conf_stat.stat.exists
|
||||||
|
|
||||||
- name: Set fact for IdM/FreeIPA host principal
|
- name: Set fact for IdM/FreeIPA host principal
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
# This playbook contains the following parameters
|
# This playbook contains the following parameters
|
||||||
# - tls_everywhere_check_dns_aci - which determines if we want to check
|
# - tls_everywhere_check_dns_aci - which determines if we want to check
|
||||||
# for the DNS ACI. This defaults to true.
|
# for the DNS ACI. This defaults to true.
|
||||||
# - tls_everywhere_undercloud_fqdn - which defaults to ansible_fqdn
|
# - tls_everywhere_undercloud_fqdn - which defaults to ansible_facts['fqdn']
|
||||||
|
|
||||||
- name: check if undercloud is an ipa client
|
- name: check if undercloud is an ipa client
|
||||||
stat:
|
stat:
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
when: ipa_default_conf.stat.exists
|
when: ipa_default_conf.stat.exists
|
||||||
vars:
|
vars:
|
||||||
check_dns_aci: "{{ tls_everywhere_check_dns_aci | default(True)}}"
|
check_dns_aci: "{{ tls_everywhere_check_dns_aci | default(True)}}"
|
||||||
undercloud_fqdn: "{{ tls_everywhere_undercloud_fqdn | default(ansible_fqdn) }}"
|
undercloud_fqdn: "{{ tls_everywhere_undercloud_fqdn | default(ansible_facts['fqdn']) }}"
|
||||||
ipa_server_aci_check_failures: []
|
ipa_server_aci_check_failures: []
|
||||||
fail_1: >-
|
fail_1: >-
|
||||||
The IPA server does not have the required ACI to allow host
|
The IPA server does not have the required ACI to allow host
|
||||||
|
|
Loading…
Reference in New Issue