Ansible – print gathered facts for debugging purposes

Question:

Is there exists some way to print on console gathered facts ?
I mean gatering facts using setup module. I would like to print gathered facts. Is it possible ? If it is possible can someone show example?

Answer:

Use setup module as ad-hoc command:

Leave a Reply