Hi!,

On Mon, 1 Jul 2024 10:56:51 -0400
Brian Coca <bc...@redhat.com> wrote:

> https://docs.ansible.com/ansible/latest/collections/ansible/builtin/constructed_inventory.html
> ^ use 3rd inventory source that can construct groups and assign group
> vars based on data from previous inventory sources.

The requirement is to: "control if a playbook may or may not
work on a host". How does the inventory plugin know which
playbook is running? The special variable ansible_play_name
is not available in the inventory plugin.

Thank you,

-- 
Vladimir Botka

-- 
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/20240701180542.23ce39e3%40gmail.com.

Attachment: pgpS0lQrRymv9.pgp
Description: OpenPGP digital signature

Reply via email to