Compare commits

...

2 Commits

@ -11,4 +11,5 @@
pip: pip:
name: git+https://git.someserver.de/seba/genconfdrv/ name: git+https://git.someserver.de/seba/genconfdrv/
executable: pip3 executable: pip3
state: "{% if xen_vm_creator_update_genconfdrv|default %}latest{% else %}present{% endif %}"
when: xen_vm_creator_install_genconfdrv when: xen_vm_creator_install_genconfdrv

@ -28,6 +28,14 @@
{% if net.gateway|default %} {% if net.gateway|default %}
':{{ net.gateway }}' ':{{ net.gateway }}'
{% endif %} {% endif %}
{% if net.routes|default %}
{% if not net.gateway|default %}
':'
{% endif %}
{% for route in net.routes %}
':{{ route.route }}-{{ route.gw }}'
{% endfor %}
{% endif %}
{% endif %} {% endif %}
, ,
@ -36,6 +44,14 @@
{% if net.gateway6|default %} {% if net.gateway6|default %}
';{{ net.gateway6 }}' ';{{ net.gateway6 }}'
{% endif %} {% endif %}
{% if net.routes6|default %}
{% if not net.gateway6|default %}
';'
{% endif %}
{% for route in net.routes6 %}
';{{ route.net }}-{{ route.gw }}'
{% endfor %}
{% endif %}
, ,
{% endif %} {% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save