Skip to content

Commit

Permalink
Update playbooks_lookups.rst
Browse files Browse the repository at this point in the history
Edited.
  • Loading branch information
dharmabumstead authored and bcoca committed Jan 10, 2017
1 parent f9f99dd commit 745219d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docsite/rst/playbooks_lookups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in Ansible, and are typically used to load variables or templates with informati

.. note:: Since 1.9 you can pass wantlist=True to lookups to use in jinja2 template "for" loops.

.. warning:: Some lookups pass arguments to a shell, if using variables from a remote/untrusted source use the `|quote` filter to ensure safe usage.
.. warning:: Some lookups pass arguments to a shell. When using variables from a remote/untrusted source, use the `|quote` filter to ensure safe usage.

.. contents:: Topics

Expand Down Expand Up @@ -530,8 +530,8 @@ Here are some examples::
- "{{list2}}"
- [1,2,3,4,5,6]

As an alternative you can also assign lookup plugins to variables or use them elsewhere.
This macros are evaluated each time they are used in a task (or template)::
As an alternative, you can also assign lookup plugins to variables or use them elsewhere.
These macros are evaluated each time they are used in a task (or template)::

vars:
motd_value: "{{ lookup('file', '/etc/motd') }}"
Expand Down

0 comments on commit 745219d

Please sign in to comment.