I'm using Ansible Tower trying to create a Smart Inventory based on some Ansible Facts.
What's the syntax required to access the "facts" in a Smart Inventory?
I'm using Ansible Tower trying to create a Smart Inventory based on some Ansible Facts.
What's the syntax required to access the "facts" in a Smart Inventory?
The Ansible Tower documentation is a little mysterious for the: Smart Inventory -> Smart Host Filter -> Dynamic Host.
Ansible Facts: The "Key" button (aka legend/help) in Ansible Tower suggests to use the term "facts" to access Ansible Facts. This is wrong, you need to use "ansible_facts" to access facts.
Examples:
ansible_facts.ansible_lsb__major_release:"7"
Variables: