On 29.01.2020 22:48, KJoubert1966 wrote:
Is there by any chance a way to reference an Inventory group from
/etc/ansible/hosts and pass that to a variable that
"vmware_guest_snapshot"
can use?
You mean something like groups['mygroup'] which is a list of all hosts
in the group mygroup?
https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#accessing-information-about-other-hosts-with-magic-variables
--
Kai Stian Olstad
--
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/105099be8274f595faa47cc54ec8407b%40olstad.com.