W3cubDocs

/Ansible

facter - Runs the discovery program facter on the remote system

Synopsis

Runs the facter discovery program (https://github.com/puppetlabs/facter) on the remote system, returning JSON data that can be useful for inventory purposes.

Requirements (on host that executes module)

  • facter
  • ruby-json

Examples

# Example command-line invocation
ansible www.example.net -m facter

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/facter_module.html