openafs_contrib / openafs_contrib.openafs / 1.9.0 / module / openafs_store_facts Store OpenAFS facts in a json file Authors: Michael Meffie preview | supported by communityopenafs_contrib.openafs.openafs_store_facts (1.9.0) — module
Install with ansible-galaxy collection install openafs_contrib.openafs:==1.9.0
collections: - name: openafs_contrib.openafs version: 1.9.0
Store facts in the json formatted c(openafs.fact) file on the remote host. This file is located in the c(/etc/ansible/facts.d) directory or the path specified by the c(factsdir) parameter. The c(openafs.fact) file is read by Ansible when facts are gathered on subsequent plays.
The c(openafs.fact) contains a dictionary of facts which can be accessed from c(ansible_local.openafs).
state: choices: - update description: - c(update) update the facts factsdir: default: /etc/ansible/facts.d description: Path to the c(openafs.fact) file type: path