Ansible 2 · Ad-hoc commands

Show a host's facts

Print the facts Ansible collects about a host.

ansible web1 -i inventory.ini -m setup

Official Ansible 2 documentation

More ad-hoc commands commands

All ad-hoc commands commands · Ansible 2 cheatsheet

Was this page helpful?