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
This commit is contained in:
Lance Bragstad 2020-10-06 09:47:48 -05:00
parent 6790742322
commit ac916a38c6
1 changed files with 1 additions and 1 deletions

View File

@ -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: