diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-03-10 16:52:50 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-03-28 15:28:34 -0400 |
commit | a69a84339e1bf187aa970316a4148138cb7f82fb (patch) | |
tree | 405654477a28a9f94f046c377cc5d84219e79bc3 /roles/lib_utils/src/doc | |
parent | e9a4e751bc28f43583087ce6502a36c5d83cf30d (diff) | |
download | openshift-a69a84339e1bf187aa970316a4148138cb7f82fb.tar.gz openshift-a69a84339e1bf187aa970316a4148138cb7f82fb.tar.bz2 openshift-a69a84339e1bf187aa970316a4148138cb7f82fb.tar.xz openshift-a69a84339e1bf187aa970316a4148138cb7f82fb.zip |
Added the ability to do multiple edits
Diffstat (limited to 'roles/lib_utils/src/doc')
-rw-r--r-- | roles/lib_utils/src/doc/yedit | 16 |
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 ''' |