Browse Source

Merge pull request #11 from msciciel/master

routes: pass gateway param only if defined
master
Arnold Bechtoldt 9 years ago
parent
commit
16ed4ce11b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      network/routes.sls

+ 2
- 0
network/routes.sls View File

- name: {{ net.name }} - name: {{ net.name }}
ipaddr: {{ net.ipaddr }} ipaddr: {{ net.ipaddr }}
netmask: {{ net.netmask }} netmask: {{ net.netmask }}
{% if net.gateway is defined %}
gateway: {{ net.gateway }} gateway: {{ net.gateway }}
{% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save