collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
381 B

{% if item.ip is defined %}
{% if item.ip == "dhcp" %}
inet {{ item.ip }} description "{{ item.desc }}"
{% else %}
inet {{ item.ip }} {{ item.netmask }} NONE description "{{ item.desc }}"
{% endif %}
{% elif item.members is defined %}
{% for member in item.members %}
add {{ member }}
{% endfor %}
{% endif %}
{% if item.group is defined %}
group "{{ item.group }}"
{% endif %}
up