Re: [ansible-project] How setup filter of gathering fact work ?

2017-01-20 Thread Johannes Kastl
On 20.01.17 09:07 web.c...@orange.fr wrote: > * tasks:* > *- setup:* > *filter: ansible_eth1 * > > *- debug: var=ansible_eth1.ipv4.address* Maybe gather_subset: "network" can help here, if you just want the ip address. Johannes -- You received this message because you are

[ansible-project] How setup filter of gathering fact work ?

2017-01-20 Thread web . cvcc
Hi all I have a poor performance environement and running setup on it get a lot of time. I know i can disable gathering fact with *gather_facts: False* I'm trying this and it's work fine *---* *- hosts: all* * gather_facts: False* * tasks:* *- setup:* *filter: