clarified omit intended usage

fixes #13986
This commit is contained in:
Brian Coca
2016-09-23 10:18:46 -04:00
parent cf4d436e07
commit 52bf021904
2 changed files with 8 additions and 11 deletions

View File

@@ -74,11 +74,10 @@ being raised.
.. _omitting_undefined_variables:
Omitting Undefined Variables and Parameters
-------------------------------------------
Omitting Parameters
-------------------
As of Ansible 1.8, it is possible to use the default filter to omit variables and module parameters using the special
`omit` variable::
As of Ansible 1.8, it is possible to use the default filter to omit module parameters using the special `omit` variable::
- name: touch files with an optional mode
file: dest={{item.path}} state=touch mode={{item.mode|default(omit)}}