summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoralekseyp <aleksey.potaneyko@gmail.com>2018-04-09 12:49:34 +0200
committerMartin Krizek <martin.krizek@gmail.com>2018-04-09 12:49:34 +0200
commit061ecac3b5aafb543e20dec602171d8839e26ad4 (patch)
tree72543511df11b774ef4bd18c0089fa9feac7b3db /docs
parentSmall typos in docs (#38371) (diff)
downloadansible-061ecac3b5aafb543e20dec602171d8839e26ad4.tar.xz
ansible-061ecac3b5aafb543e20dec602171d8839e26ad4.zip
Update playbooks_loops.rst (#38440)
Missing parentheses +label: docsite_pr
Diffstat (limited to 'docs')
-rw-r--r--docs/docsite/rst/user_guide/playbooks_loops.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docsite/rst/user_guide/playbooks_loops.rst b/docs/docsite/rst/user_guide/playbooks_loops.rst
index 5f88fbf7d5..a9d5f72b80 100644
--- a/docs/docsite/rst/user_guide/playbooks_loops.rst
+++ b/docs/docsite/rst/user_guide/playbooks_loops.rst
@@ -224,12 +224,12 @@ There is also a specific lookup plugin ``inventory_hostnames`` that can be used
# show all the hosts in the inventory
- debug:
msg: "{{ item }}"
- loop: "{{lookup('inventory_hostnames', 'all'}}"
+ loop: "{{ lookup('inventory_hostnames', 'all') }}"
# show all the hosts matching the pattern, ie all but the group www
- debug:
msg: "{{ item }}"
- loop: "{{lookup('inventory_hostnames', 'all!www'}}"
+ loop: "{{ lookup('inventory_hostnames', 'all!www') }}"
More information on the patterns can be found on :doc:`intro_patterns`