Setup Fails at TASK set system hostname

I’m working on reinstall / upgrade from 2.4 to 2.4.2 and ran into this weird issue. I can’t get any further in the setup. The hostname is already set at the OS level so I’m not sure why this task is firing at all.

TASK [common : Set system hostname] ****************************************************************************************************************************
fatal: [ansible_host=127.0.0.1]: FAILED! => {“changed”: false, “msg”: “Command failed rc=1, out=, err=Could not set property: Invalid hostname ‘ansible_host=127.0.0.1’\n”}

Any help is appreciated!

I found that something went a miss with the host.ini file and the real hostname was not located on any of the lines. Corrected this and the install moved forward.

Thanks for circling back on this. Several of the core team are out this week at a cyber exercise so our response is a bit slower than usual. Dropping potential solutions here will make it easier for people to solve future challenges