Hi,

> ist there anything like a negation of --limit (to not execute a
> playbook on the named remotes) ?

you can use `!` for that in the `--limit` expression:

  `ansible-playbook --limit 'servers,!specific_server,!specific_group ...`

That will use all servers from the group `servers`, except
`specific_server`, and all servers in `specific_group`.

(You can also leave away `servers` to run the playbook on all hosts it
wants to run on, except the ones excluded with `!`.)

Cheers,
Felix

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20230427105954.1e062727%40rovaniemi.

Reply via email to