summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authordavidobrien1 <davidobrien1@nbnco.com.au>2016-02-26 22:40:43 +1100
committerdavidobrien1 <davidobrien1@nbnco.com.au>2016-02-26 22:40:43 +1100
commitb33320d3f115326fd06d32bac85c516c88e5a623 (patch)
tree7d900f0858e91902be969318c73ce419c4ad141a /system
parent18047506af275791350895ff73fee9bac38002f5 (diff)
downloadansible-modules-core-b33320d3f115326fd06d32bac85c516c88e5a623.tar.gz
Restore filter on Windows and version reference for Windows facts.
Diffstat (limited to 'system')
-rw-r--r--system/setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/setup.py b/system/setup.py
index beebd42b..8830e9d2 100644
--- a/system/setup.py
+++ b/system/setup.py
@@ -35,7 +35,7 @@ options:
description:
- path used for local ansible facts (*.fact) - files in this dir
will be run (if executable) and their results be added to ansible_local facts
- if a file is not executable it is read.
+ if a file is not executable it is read. Check notes for Windows options. (from 2.1 on)
File/results format can be json or ini-format
required: false
default: '/etc/ansible/facts.d'
@@ -54,10 +54,13 @@ notes:
install I(facter) and I(ohai) means you can avoid Ruby-dependencies on your
remote systems. (See also M(facter) and M(ohai).)
- The filter option filters only the first level subkey below ansible_facts.
+ - If the target host is Windows, you will not currently have the ability to use
+ C(filter) as this is provided by a simpler implementation of the module.
- If the target host is Windows you can now use C(fact_path). Make sure that this path
exists on the target host. Files in this path MUST be PowerShell scripts (*.ps1) and
their output must be formattable in JSON (Ansible will take care of this). Test the
output of your scripts.
+ This option was added in Ansible 2.1.
author:
- "Ansible Core Team"
- "Michael DeHaan"