force correct hostname
This commit is contained in:
parent
332b433971
commit
078e00f054
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
---
|
||||
- name: set correct hostname
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
|
||||
- name: include os specific tasks
|
||||
include_tasks: "{{ ansible_os_family }}.yml"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue