I am using Ansible for configuring the remote nodes. Now, i need to get some information from these nodes to take decisions at ansible master.
So, i tried the Custom Facts.
1. Created facts.d directory in /etc/ansible/
2. Created a file test.facts in facts.d directory.
3. Response of the test.facts is JSON.
4. Execution permission is given for the facts file.
It's working. But, i felt its slow because it gathers default facts as well.
Is there a way to receive the custom facts of test.facts file alone?