I can't make any sense of what you're trying to achieve. Can you rephrase
and be more clear?

On Mon, 9 Jan 2023 at 12:00, Redmansas <[email protected]> wrote:

> Hi
> Maybe idiotic problem but I don't have clue how to bite it :/
> I have example list of 3 hosts all are needed in inventory. I need to run
> one task to stop application
> Host 1
> Host 2
> Host 3
> app can be stopped only on host 2 and 3 and it need to run once because it
> will stop for whole landscape. I know that I can create a static var with
> host name but then any landscape i need to change it.
>
> so I though to eliminate host1 from list and then run only once on one of
> rest hosts (host2/host3)
> I tried to do double block but in first iteration skip host 1 but in
> second block don't do anything
>
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f296b591-c146-4271-a86d-f1101140921cn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f296b591-c146-4271-a86d-f1101140921cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLYFAZT500bQhmcgXnSoFpw8bUojBvvepw3FjFZvf_S%3Drw%40mail.gmail.com.

Reply via email to