Commit 651cf13a authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

validate: check ceph_docker_registry_* length



This commit adds a condition to check whether these variables are empty.
Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 2b97ac92)
parent 9d3fbcf4
......@@ -123,4 +123,5 @@
msg: 'ceph_docker_registry_username and/or ceph_docker_registry_password variables need to be set'
when:
- ceph_docker_registry_auth | bool
- ceph_docker_registry_username is not defined or ceph_docker_registry_password is not defined
- (ceph_docker_registry_username is not defined or ceph_docker_registry_password is not defined)
- (ceph_docker_registry_username | length == 0 or ceph_docker_registry_password | length == 0)
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