force correct hostname

This commit is contained in:
Timo Makinen 2019-05-22 23:46:25 +03:00
parent 332b433971
commit 078e00f054

View file

@ -1,4 +1,8 @@
--- ---
- name: set correct hostname
hostname:
name: "{{ inventory_hostname }}"
- name: include os specific tasks - name: include os specific tasks
include_tasks: "{{ ansible_os_family }}.yml" include_tasks: "{{ ansible_os_family }}.yml"