Ansible Custom Facts Playbook

Ansible Custom Facts Playbook

- name: GATHER FACTS TESTING
  hosts: all
  gather_facts: no

- name: GATHER Facts Windows
  setup:
    fact_path: C:\ProgramData\A8N\CustomFacts\A8N_CustomFacts01.ps1
    gather_timeout: 15
    gather_subset:
      - '!hardware'
      - '!network'
      - '!ohai'
      - '!facter'
  register: hosts_windows

You may also like...