Iam using the foreman.py script for creating a dynamic inventory. How can I use the collected facts from the foreman.facts file in my ansible playbooks?
ll /etc/ansible/foreman*
-rw-r--r--. 1 root root 613597 Jun 3 16:38 /etc/ansible/foreman.cache -rw-r--r--. 1 root root 1331584 Jun 3 16:38 /etc/ansible/foreman.facts -rw-r--r--. 1 root root 2 Jun 3 16:38 /etc/ansible/foreman.hostcollections -rw-r--r--. 1 root root 42427 Jun 3 16:38 /etc/ansible/foreman.index -rw-r--r--. 1 root root 506 Jun 3 16:17 /etc/ansible/foreman.ini -rw-r--r--. 1 root root 32539 Jun 3 16:38 /etc/ansible/foreman.params
Hey guys,
Iam using the foreman.py script for creating a dynamic inventory. How can I use the collected facts from the foreman.facts file in my ansible playbooks?
ll /etc/ansible/foreman*
-rw-r--r--. 1 root root 613597 Jun 3 16:38 /etc/ansible/foreman.cache -rw-r--r--. 1 root root 1331584 Jun 3 16:38 /etc/ansible/foreman.facts -rw-r--r--. 1 root root 2 Jun 3 16:38 /etc/ansible/foreman.hostcollections -rw-r--r--. 1 root root 42427 Jun 3 16:38 /etc/ansible/foreman.index -rw-r--r--. 1 root root 506 Jun 3 16:17 /etc/ansible/foreman.ini -rw-r--r--. 1 root root 32539 Jun 3 16:38 /etc/ansible/foreman.params
Thank you very much!
Best regards