bugfix: regression for etc/hosts update

- shouldn't run for non hcloud servers at all
  when expression was wrongly negated
feature/DEV-470_2nd
Sven Ketelsen 4 years ago
parent f00fdbe808
commit 41a065b048

@ -24,7 +24,7 @@
{{ host.ip }} {{ host.name }} {{ host.ip }} {{ host.name }}
{% endfor %} {% endfor %}
when: when:
- "'hcloud' not in group_names" - "'hcloud' in group_names"
tags: tags:
- update_etc_hosts - update_etc_hosts

Loading…
Cancel
Save