This commit is contained in:
Sergey Bubnov 2018-11-21 10:27:35 +04:00
parent 29c65bcc08
commit 182b4ec5ec

View File

@ -60,5 +60,5 @@
line: "{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}"
state: present
when: hostvars[item].ansible_default_ipv4.address is defined
with_items: play_hosts
with_items: "{{ play_hosts }}"
tags: [ prepare ]