From 95761ea920aa0becb97bbe256676f5751a400b78 Mon Sep 17 00:00:00 2001 From: Maykel Moya Date: Mon, 17 Feb 2014 11:51:37 +0100 Subject: [PATCH] Uniform spacing across all filter examples --- docsite/rst/playbooks_variables.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index cfa53f2cdac..608b214bbe3 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -189,7 +189,7 @@ All these functions return a unique set from sets or lists. To get a unique set from a list:: - {{ list1 |unique }} + {{ list1 | unique }} To get a union of two lists:: @@ -197,15 +197,15 @@ To get a union of two lists:: To get the intersection of 2 lists (unique list of all items in both):: - {{ list1 |intersect(list2)}} + {{ list1 | intersect(list2) }} To get the difference of 2 lists (items in 1 that don't exist in 2):: - {{ list1 |difference(list2)}} + {{ list1 | difference(list2) }} To get the symmetric difference of 2 lists (items exclusive to each list):: - {{ list1 |symmetric_difference(list2)}} + {{ list1 | symmetric_difference(list2) }} .. _other_useful_filters: