We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Review templates/interfaces.j2 used by prepare_host.yaml:
The text was updated successfully, but these errors were encountered:
Using the variables from the setup module
biff | SUCCESS => { "ansible_facts": { "ansible_all_ipv4_addresses": [ "10.150.40.4" ], "ansible_default_ipv4": { "address": "10.150.40.4", "alias": "eth0", "broadcast": "10.150.40.255", "gateway": "10.150.40.1", "interface": "eth0", "macaddress": "54:a0:50:d6:9a:f9", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.150.40.0", "type": "ether" }, ...
I tried something that can be useful without much work, see 93e02dd
This will use the name for the default network interface in the template
I also removed the management vlan id as it is now the untagged one
Sorry, something went wrong.
I'm not sure as to how the external gateway should fit into this template. Should we make it a variable in hostvars?
Also I have choosen the ansible_default_ipv4.alias property but we can also go with ansible_default_ipv4.interface, I don't really know the difference
ansible_default_ipv4.alias
ansible_default_ipv4.interface
edoput
No branches or pull requests
Review templates/interfaces.j2 used by prepare_host.yaml:
The text was updated successfully, but these errors were encountered: