Verified Commit bd3573cc authored by Lukas Schauer's avatar Lukas Schauer 🔓

do not fail if pve-hosts group does not exist

parent 4c49a53d
......@@ -6,7 +6,7 @@
group: root
mode: "0500"
tags: authorized_keys
when: inventory_hostname not in groups["pve-hosts"]
when: '("pve-hosts" not in groups) or (inventory_hostname not in groups["pve-hosts"])'
- name: Install dotfiles
synchronize:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment