Add sanity checks

This commit is contained in:
Sven Velt 2024-03-12 21:43:27 +01:00
parent 6f0a8bec2c
commit adefc850bb

View file

@ -76,6 +76,13 @@
when: inventory_hostname in groups.lxc_hosts
- name: Sanity checks
assert:
that:
- ssh_keys is defined
- ssh_keys is iterable
- name: Check for no-validate parameter in download template
shell: "/usr/share/lxc/templates/lxc-download --help | grep no-validate || true"
changed_when: false