use hostname_short as it should be
This commit is contained in:
parent
84b75018c7
commit
bedc65d50b
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- name: set hostname with systemd
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
name: "{{ inventory_hostname_short }}"
|
||||
when: rootpath == ""
|
||||
|
||||
- name: customize vm image hostname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue