--- - name: Fail if no list of hostnames and IPs is found fail: msg: "The global variable GLOBAL_HOSTS_LIST should be accessible and contain a map of hostnames with their private IPs for this HA installation. Check that you have called the role set-hostname before enabling HA" when: GLOBAL_HOSTS_LIST is undefined