diff --git a/create_inventory_lxc.yml b/create_inventory_lxc.yml index 2fc17d0..13d0990 100644 --- a/create_inventory_lxc.yml +++ b/create_inventory_lxc.yml @@ -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