Add sanity check before LXC creation
This commit is contained in:
parent
63b265011d
commit
e286662efc
|
@ -85,8 +85,8 @@
|
|||
- name: Sanity checks
|
||||
assert:
|
||||
that:
|
||||
- ssh_keys is defined
|
||||
- ssh_keys is iterable
|
||||
- ssh_keys is defined and ssh_keys is iterable
|
||||
- service_user is not defined or service_user|regex_search('^[a-z][a-z0-9-]+$')
|
||||
|
||||
|
||||
- name: Check for no-validate parameter in download template
|
||||
|
|
Loading…
Reference in a new issue