Skip to content

Instantly share code, notes, and snippets.

Created November 16, 2015 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/3d573c9acee48c7c1ae4 to your computer and use it in GitHub Desktop.
Save anonymous/3d573c9acee48c7c1ae4 to your computer and use it in GitHub Desktop.
networks:
{% if grains['host'] == 'cn1' %}
store:
ip_address: 10.110.0.21
netmask: 255.255.252.0
vlan: 1025
mtu: 1500
{% elif grains['host'] == 'cn2' %}
store:
ip_address: 10.110.0.22
netmask: 255.255.252.0
vlan: 1025
mtu: 1500
{% elif grains['host'] == 'cn3' %}
store:
ip_address: 10.110.0.23
netmask: 255.255.252.0
vlan: 1025
mtu: 1500
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment