---
-- 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 == "0.0.0.0"
-
- name: copy admin key
copy:
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.client.admin.keyring"
---
+- 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'"
+
- name: fail if unsupported chap configuration
fail:
msg: "Mixing clients with CHAP enabled and disabled is not supported."