From 0180a7ef634a0750d1d483701ea46b8fe9587300 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Tue, 6 Oct 2020 09:47:48 -0500 Subject: [PATCH] Use `undercloud` instead of `Undercloud` when delegating tasks If ansible detects uppercase characters in delegate_to, it assumes the target is a grou, not a host. We should use all lowercase representation (e.g., `undercloud`) so that ansible does the right thing and looks for the host, instead of looking for the `Undercloud` group. Change-Id: If31e620b88830ef85a2bddaccd6cd7064cce4472 (cherry picked from commit ac916a38c6e70926b854b0e5c9249423f860a1ab) (cherry picked from commit 514ac5b08ca5ad26bd35454e4d4e9cefa68ba1a4) --- deployment/ipa/ipaservices-baremetal-ansible.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/ipa/ipaservices-baremetal-ansible.yaml b/deployment/ipa/ipaservices-baremetal-ansible.yaml index c159fa0e6a..b6a90694d6 100644 --- a/deployment/ipa/ipaservices-baremetal-ansible.yaml +++ b/deployment/ipa/ipaservices-baremetal-ansible.yaml @@ -160,7 +160,7 @@ outputs: - name: unregister node from ipa server import_role: name: tripleo_ipa_cleanup - delegate_to: Undercloud + delegate_to: undercloud vars: tripleo_ipa_keytab: {get_param: IdMNovaKeytab} tripleo_ipa_hosts_to_delete: