community / community.general / 6.6.8 / module / facter Runs the discovery program I(facter) on the remote system Authors: Ansible Core Team, Michael DeHaancommunity.general.facter (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
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