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'] | difference(groups['excluded_group']) }}"
>
> --
> Kai Stian Olstad
>
Great, everything is working as I want it to be, thank you for your help!
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1fc53fba-b6cd-4ae3-9f7d-871cd7a9ea70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.