Commit 5f4a2455 by Michel Blanc

Adds example for filter option in setup module

Added an example on how to filter keys returned by the module.
parent 75b68724
......@@ -55,6 +55,8 @@ notes:
examples:
- code: ansible all -m setup --tree /tmp/facts
description: Obtain facts from all hosts and store them indexed by I(hostname) at C(/tmp/facts).
- code: ansible all -m setup -a 'filter=ansible_*_mb'
description: Obtain I(only) facts regarding memory from all hosts and output them.
author: Michael DeHaan
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment