diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index 9011792a0..95086e6f9 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -95,6 +95,7 @@ - name: Stop if ip var does not match local ips assert: that: ip in ansible_all_ipv4_addresses + msg: "'{{ ansible_all_ipv4_addresses }}' do not contain '{{ ip }}'" when: - not ignore_assert_errors - ip is defined