Skip to content

Conversation

@rbales79
Copy link

removes trailing newline

- name: populate list of manager ips
add_host:
hostname: "{{ hostvars[item]['ansible_' + iface]['ipv4']['address'] }}"
hostname: "{{ hostvars[item]['ansible_default_ipv4]['address'] }}"
Copy link
Owner

Choose a reason for hiding this comment

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

I fear this would remove the ability to set an interface via vars. Is there something broken?

Copy link

Choose a reason for hiding this comment

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

"'ansible_default_ipv4 "

missing the ending "'"

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.

3 participants