Skip to content
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

Ansible host variable fixes #164

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

MoralCode
Copy link

This PR addresses the issue identified in #161 (and PR #162 which was accidentally closed as i was reorganizing git branches). It achieves this by updating some of the ansible configs to use a newer variable name to access the ssh hostname.

Approach

While I initially defaulted to using ansible_default_ipv4.address - it seems as though that created problems in the past, so I just stuck with using ansible_host and ensuring this is defined in inventory.cfg

Disclosure: I approached this fix with a largely automated find-and-replace strategy

Testing and possible drawbacks to this PR

I am able to get KNIX to install with this change (will be trying to run things soon). This changeset may have changed slightly more things than necessary but it shouldn't be too bad

fixes #161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_ssh_host'
1 participant