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