group_vars/all not read by setup.sh if the inventory outside the installer directory
Issue
-
While upgrading to 2.3, the playbook failed with the following message:
"The conditional check 'ansible_version.full is version_compare(minimum_ansible_version, '<')' failed. The error was: error while evaluating conditional (ansible_version.full is version_compare(minimum_ansible_version, '<')): 'minimum_ansible_version' is undefined. 'minimum_ansible_version' is undefined"
The variable that is needed (minimum_ansible_version) is available in group_vars/all but is not loaded when running setup.sh when inventory is outside the installer directory.
Environment
- Red Hat Ansible Automation Platform 2.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.