Set hostname to match inventory_hostname
At the start we should check that the hostname
is set, if hostname -f
doesn't equal {{ inventory_hostname }}
then hostname {{ inventory_hostname }}
.
At the start we should check that the hostname
is set, if hostname -f
doesn't equal {{ inventory_hostname }}
then hostname {{ inventory_hostname }}
.