diff --git a/roles/ceph-validate/tasks/check_iscsi.yml b/roles/ceph-validate/tasks/check_iscsi.yml index de802d548..1bdd45078 100644 --- a/roles/ceph-validate/tasks/check_iscsi.yml +++ b/roles/ceph-validate/tasks/check_iscsi.yml @@ -2,7 +2,9 @@ - name: make sure gateway_ip_list is configured fail: msg: "you must set a list of IPs (comma separated) for gateway_ip_list" - when: "gateway_ip_list | default('0.0.0.0') == '0.0.0.0'" + when: + - "gateway_ip_list | default('0.0.0.0') == '0.0.0.0'" + - not containerized_deployment | bool - name: fail if unsupported chap configuration fail: diff --git a/tests/functional/all_daemons/container/group_vars/iscsigws b/tests/functional/all_daemons/container/group_vars/iscsigws index 401805eb3..8d0932ab4 100644 --- a/tests/functional/all_daemons/container/group_vars/iscsigws +++ b/tests/functional/all_daemons/container/group_vars/iscsigws @@ -1,3 +1,2 @@ --- -gateway_ip_list: 192.168.1.90 -generate_crt: True \ No newline at end of file +generate_crt: True