|
|
|
|
|
|
|
|
network.hostname|default(grains.nodename) |
|
|
network.hostname|default(grains.nodename) |
|
|
], |
|
|
], |
|
|
'::1': [ |
|
|
'::1': [ |
|
|
'localhost', |
|
|
|
|
|
'ip6-localhost', |
|
|
'ip6-localhost', |
|
|
'ip6-loopback' |
|
|
'ip6-loopback' |
|
|
], |
|
|
], |
|
|
|
|
|
'fe00::0': [ |
|
|
|
|
|
'ip6-localnet', |
|
|
|
|
|
'ip6-mcastprefix' |
|
|
|
|
|
], |
|
|
'ff02::1': [ |
|
|
'ff02::1': [ |
|
|
'ip6-allnodes' |
|
|
'ip6-allnodes' |
|
|
], |
|
|
], |
|
|
'ff02::2': [ |
|
|
'ff02::2': [ |
|
|
'ip6-allrouters' |
|
|
'ip6-allrouters' |
|
|
], |
|
|
], |
|
|
|
|
|
'ff02::3': [ |
|
|
|
|
|
'ip6-allhosts' |
|
|
|
|
|
], |
|
|
} -%} |
|
|
} -%} |
|
|
{%- for name, host in network.host.iteritems() -%} |
|
|
{%- for name, host in network.host.iteritems() -%} |
|
|
{%- do hosts.update({host.address: host.names}) -%} |
|
|
{%- do hosts.update({host.address: host.names}) -%} |