mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
chore(hostname): hostname's changed status was reported wrongly
This commit is contained in:
parent
5131e3b5e2
commit
e11ea98d79
1 changed files with 1 additions and 0 deletions
|
@ -24,4 +24,5 @@
|
|||
- name: Set hostname via hostnamectl to avoid a reboot
|
||||
command:
|
||||
cmd: "hostnamectl set-hostname {{ hostname_fqdn }}"
|
||||
when: hostname_fqdn != "{{ ansible_fqdn }}."
|
||||
|
||||
|
|
Loading…
Reference in a new issue