update hosts
This commit is contained in:
parent
93d8990762
commit
07a48f4f1b
@ -6,4 +6,4 @@
|
|||||||
line: '{{ item }}'
|
line: '{{ item }}'
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ ansible_default_ipv4.address }} {{ ansible_hostname }} {{ ansible_fqdn }}'
|
- line: '{{ ansible_eth0.ipv4.address }} {{ inventory_hostname }} {{ inventory_hostname }}.{{ ansible_domain }}'
|
||||||
Loading…
x
Reference in New Issue
Block a user