diff --git a/hosts.yml b/hosts.yml index 81c0949..8162200 100644 --- a/hosts.yml +++ b/hosts.yml @@ -6,4 +6,4 @@ line: '{{ item }}' state: present with_items: - - line: '{{ ansible_eth0.ipv4.address }} {{ inventory_hostname }} {{ inventory_hostname }}.{{ ansible_domain }}' \ No newline at end of file + - '{{ ansible_default_ipv4.address }} {{ ansible_hostname }} {{ ansible_hostname }}.gmotech.net' \ No newline at end of file