Browse Source

Fix for hosts file idempotence

tags/2016.12
Olivier Bourdon 8 years ago
parent
commit
577fbf5131
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      linux/network/host.sls

+ 3
- 1
linux/network/host.sls View File

- repl: {{ after }} - repl: {{ after }}
- watch: - watch:
- host: linux_host_{{ name }} - host: linux_host_{{ name }}
- onlyif:
- grep -q "{{ before }}" /etc/hosts


{%- endif %} {%- endif %}




{%- endfor %} {%- endfor %}


{%- endif %}
{%- endif %}

Loading…
Cancel
Save