-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aap_setup_install assumes dictionaries in aap_setup_prep_inv_nodes var #197
Comments
Can you point to me where in the documentation it shows dicts, as we would need to change that, I've looked at the aap setup install, download, and prep, and I see lists used in the examples. Its never meant to be a dict. ever. |
It doesn't show dicts in any documentation. The issue is that the defaults from the aap_setup_install assume dicts.
See the code snippets above. You're calling the This behavior was introduced by #133 as "fix hostnames". |
They should all be dictionaries and they can all be dictionaries, in order to allow for host variables in the ini files (not the nicest way to do it, but rather common for setup.sh). The truth was and is in |
Hi, quick follow up to #192 because I figured out what caused my issue.
aap_utilities/roles/aap_setup_install/defaults/main.yml
Line 51 in a97c522
This should probably be something like
{{ aap_setup_prep_inv_nodes['automationcontroller'] | first }}
. Same goes forah_hostname
andeda_hostname
- or you keep the role as it is and adjust the example in the readme :)The text was updated successfully, but these errors were encountered: