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
|
- name: set hostname with systemd
|
||||||
hostname:
|
hostname:
|
||||||
name: "{{ inventory_hostname }}"
|
name: "{{ inventory_hostname_short }}"
|
||||||
when: rootpath == ""
|
when: rootpath == ""
|
||||||
|
|
||||||
- name: customize vm image hostname
|
- name: customize vm image hostname
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue