Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add ansible_host connection option to ansibleHostsTemplate #204

Merged

Conversation

fabriziosestito
Copy link
Member

This PR adds the ansible_host connection option to the generated ansible inventory by using the node discovered IP address.
See: https://docs.ansible.com/ansible/latest/reference_appendices/special_variables.html#connection-variables

This is required in order to let ansible know the ip of the hosts without resolving them, so we don't ask the user to modify /etc/hosts or alter `resolv.conf/k8s core dns or pod dns policies.

See: #191 (comment)

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you for checking out this

@arbulu89 arbulu89 merged commit 23e86f3 into trento-project:runner Aug 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants