Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cephadm-adopt: fix orch host add with FQDN
When a node is configured with FQDN as the hostname value then the `ceph orch host add` command will fail because the `ansible_hostname` used by that command contains the short hostname which won't match the current hostname (FQDN) Instead we can use the ansible_nodename fact. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1997083 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 2630f8d)
- Loading branch information