Hi all,
I need to get a list of available facts from one of my machines. I can run playbook against it (ssh keys and password-less access already setup) but for some reason when I run the following command it complains permission denied:
`
ansible master -i hosts -m setup
`
master only has one host IP address
hosts is the default inventory file
I have used
ansible master -m setup
as suggested by many posts but got the warning: no hosts matched, nothing to do
I honestly don’t know what’s wrong.
If anyone can solve the problem, could you please let me know how do you normally print out all available facts in a playbook? I dont know which ones are available thats why I want to print out all of them.
Thank you all very much.
Cheers,
Billie