Documentation

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, Helping Testing PRs and Developing Modules.