Re: [ansible-devel] host unreachable

2018-11-15 Thread Bob Harold
On Wed, Nov 14, 2018 at 3:12 PM flowerysong wrote: > On Wednesday, November 14, 2018 at 11:19:55 AM UTC-5, Bob Harold wrote: >> >> >> On Tue, Nov 13, 2018 at 5:37 PM Brian Coca wrote: >> >>> 1 play before your normal play: >>> >>> >>> hosts: hosta,hostb >>> gather_facts: False >>> tasks: >>>

Re: [ansible-devel] host unreachable

2018-11-14 Thread flowerysong
On Wednesday, November 14, 2018 at 11:19:55 AM UTC-5, Bob Harold wrote: > > > On Tue, Nov 13, 2018 at 5:37 PM Brian Coca > > wrote: > >> 1 play before your normal play: >> >> >> hosts: hosta,hostb >> gather_facts: False >> tasks: >>- ping: >>- group_by: key=rechable >> >> hosts: reachable

Re: [ansible-devel] host unreachable

2018-11-14 Thread Kai Stian Olstad
On Wednesday, 14 November 2018 18:39:28 CET Brian Coca wrote: > there is no need to register as the host failing the ping will be > removed from the play. Yes it's necessary, if not the group_by still runs, just look at this run PLAY [a2,a1] ** TASK [ping]

Re: [ansible-devel] host unreachable

2018-11-14 Thread Brian Coca
there is no need to register as the host failing the ping will be removed from the play. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [ansible-devel] host unreachable

2018-11-14 Thread Kai Stian Olstad
On Wednesday, 14 November 2018 17:19:38 CET Bob Harold wrote: > On Tue, Nov 13, 2018 at 5:37 PM Brian Coca wrote: > > > 1 play before your normal play: > > > > > > hosts: hosta,hostb > > gather_facts: False > > tasks: > >- ping: > >- group_by: key=rechable > > > > hosts: reachable > >

Re: [ansible-devel] host unreachable

2018-11-14 Thread Bob Harold
On Tue, Nov 13, 2018 at 5:37 PM Brian Coca wrote: > 1 play before your normal play: > > > hosts: hosta,hostb > gather_facts: False > tasks: >- ping: >- group_by: key=rechable > > hosts: reachable > > > -- > Brian Coca > Thanks for mentioning the 'ping' module - that is new

Re: [ansible-devel] host unreachable

2018-11-13 Thread Brian Coca
1 play before your normal play: hosts: hosta,hostb gather_facts: False tasks: - ping: - group_by: key=rechable hosts: reachable -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this