I did it by
host_name: "{ item }"
with_lines: cat "file"
On Saturday, 3 February 2018 22:20:31 UTC-5, Mark Lam wrote:
>
> Hi Andrew
>
> Can you show us how you did it?
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from
Hi Andrew
Can you show us how you did it?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To post to this
thank you , with files worked, after piping list of ips
On Thursday, 1 February 2018 19:01:51 UTC-5, Andrew Morgan wrote:
>
> Hello all,
>
> I have a play I want to run wich deletes all hosts matching a certain
> criteria:
>
> tasks:
> - name: Delete unavailable nodes
> zabbix_host:
>
Hi,
can you try "with_fileglob" ? Refer in
http://docs.ansible.com/ansible/latest/playbooks_loops.html#id4
Vào 07:01:51 UTC+7 Thứ Sáu, ngày 02 tháng 2 năm 2018, Andrew Morgan đã viết:
>
> Hello all,
>
> I have a play I want to run wich deletes all hosts matching a certain
> criteria:
>
>
Vào 07:01:51 UTC+7 Thứ Sáu, ngày 02 tháng 2 năm 2018, Andrew Morgan đã viết:
> Hello all,
>
> I have a play I want to run wich deletes all hosts matching a certain
> criteria:
>
>
>
> tasks:
> - name: Delete unavailable nodes
> zabbix_host:
> server_url: http://zabbix.aa.net/zabbix
Vào 07:01:51 UTC+7 Thứ Sáu, ngày 02 tháng 2 năm 2018, Andrew Morgan đã viết:
> Hello all,
>
> I have a play I want to run wich deletes all hosts matching a certain
> criteria:
>
>
>
> tasks:
> - name: Delete unavailable nodes
> zabbix_host:
> server_url: http://zabbix.aa.net/zabbix