summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/src/doc/yedit
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_utils/src/doc/yedit')
-rw-r--r--roles/lib_utils/src/doc/yedit16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/lib_utils/src/doc/yedit b/roles/lib_utils/src/doc/yedit
index 16b44943e..82af1f675 100644
--- a/roles/lib_utils/src/doc/yedit
+++ b/roles/lib_utils/src/doc/yedit
@@ -135,4 +135,20 @@ EXAMPLES = '''
# a:
# b:
# c: d
+#
+# multiple edits at the same time
+- name: perform multiple edits
+ yedit:
+ src: somefile.yml
+ edits:
+ - key: a#b#c
+ value: d
+ - key: a#b#c#d
+ value: e
+ state: present
+# Results:
+# a:
+# b:
+# c:
+# d: e
'''