-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
False
-
None
-
False
-
-
Failure on ocp install:
TASK [Configure inventory variables] ************************************************************************************************************************
Friday 04 November 2022 21:36:43 +0000 (0:00:00.025) 0:00:47.901 *******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: {{ 'clock.redhat.com' if 'redhat.com' in ansible_fqdn else 'pool.ntp.org'
}}: 'ansible_fqdn' is undefined"}
although ansible setup module shows that that variable exists :
[root@titan131 ansible]# ansible localhost -m setup |grep ansible_fqdn
"ansible_fqdn": "titan131.lab.eng.tlv2.redhat.com",
Maybe we should enable gathering facts to true to reolve this ?
*if it won't break anything else ..:
https://github.com/pinikomarov/osp-director-dev-tools/blob/hybrid_dpdk_sriov_titan131-3-5/ansible/ocp_ai_prep.yaml#L3-L4