fqdn first and hostname

This commit is contained in:
Gilles Mouchet 2024-07-01 14:41:03 +02:00
parent e8b5dd8060
commit 5be1a4821f

View File

@ -6,4 +6,4 @@
line: '{{ item }}'
state: present
with_items:
- '{{ ansible_default_ipv4.address }} {{ ansible_hostname }} {{ ansible_hostname }}.gmetech.net'
- '{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.gmetech.net {{ ansible_hostname }}'