ignore errors if hostname module could not set hostname
in our case mostly that was mostly because of missing dbus on systemd systems
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
- name: set hostname
|
||||
hostname:
|
||||
name: "{{ inventory_hostname_short }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: /etc/hostname
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user