This commit is contained in:
Gilles Mouchet 2024-05-22 17:29:38 +02:00
parent 07a48f4f1b
commit c83850bb09

View File

@ -6,4 +6,4 @@
line: '{{ item }}' line: '{{ item }}'
state: present state: present
with_items: with_items:
- line: '{{ ansible_eth0.ipv4.address }} {{ inventory_hostname }} {{ inventory_hostname }}.{{ ansible_domain }}' - '{{ ansible_default_ipv4.address }} {{ ansible_hostname }} {{ ansible_hostname }}.gmotech.net'