community / community.general / 2.5.9 / module / facter Runs the discovery program I(facter) on the remote system Authors: Ansible Core Team, Michael DeHaancommunity.general.facter (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Runs the C(facter) discovery program (U(https://github.com/puppetlabs/facter)) on the remote system, returning JSON data that can be useful for inventory purposes.
# Example command-line invocation # ansible www.example.net -m facter - name: Execute facter no arguments community.general.facter:
- name: Execute facter with arguments community.general.facter: arguments: - -p - system_uptime - timezone - is_virtual
arguments: description: - Specifies arguments for facter. elements: str type: list