use hostname_short as it should be

This commit is contained in:
nd 2019-09-16 18:09:49 +02:00
parent 84b75018c7
commit bedc65d50b
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -5,7 +5,7 @@
- name: set hostname with systemd
hostname:
name: "{{ inventory_hostname }}"
name: "{{ inventory_hostname_short }}"
when: rootpath == ""
- name: customize vm image hostname