Re: [ansible-project] Clear host errors not working as supposed - cannot retry task on unreachable host

2017-07-06 Thread Listing
On Thursday, July 6, 2017 at 10:58:18 PM UTC+2, Kai Stian Olstad wrote: > > On 06. juli 2017 22:47, Listing wrote: > > with_items: groups['all:!excluded_group'] does not seem to work. Have > you > > got any idea how to exclude here? :) > > with_items: "{{ groups['all'] |

Re: [ansible-project] Clear host errors not working as supposed - cannot retry task on unreachable host

2017-07-06 Thread Kai Stian Olstad
On 06. juli 2017 22:47, Listing wrote: with_items: groups['all:!excluded_group'] does not seem to work. Have you got any idea how to exclude here? :) with_items: "{{ groups['all'] | difference(groups['excluded_group']) }}" -- Kai Stian Olstad -- You received this message because you are

Re: [ansible-project] Clear host errors not working as supposed - cannot retry task on unreachable host

2017-07-06 Thread Kai Stian Olstad
On 06. juli 2017 21:54, Listing wrote: HI al, I am running a playbook on a set of hosts of which I expect them to be offline. I want to check every 10 seconds whether they are online or not and then output a message when all is running, or another message when all is not running after 10

[ansible-project] Clear host errors not working as supposed - cannot retry task on unreachable host

2017-07-06 Thread Listing
HI al, I am running a playbook on a set of hosts of which I expect them to be offline. I want to check every 10 seconds whether they are online or not and then output a message when all is running, or another message when all is not running after 10 retries for instance. I am getting 'host