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
changes/70/756370/2
Lance Bragstad 2 years ago
parent 6790742322
commit ac916a38c6
  1. 2
      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:

Loading…
Cancel
Save