summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/replace.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:26:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:26:57 +0000
commitd4dfa10cd25391c61bd21fa7c3e08d1ba955b52a (patch)
tree3492abc44856eb055528b4163280c0e4a4d0e7cc /lib/ansible/modules/replace.py
parentReleasing progress-linux version 2.17.1-1~progress7.99u1. (diff)
downloadansible-core-d4dfa10cd25391c61bd21fa7c3e08d1ba955b52a.tar.xz
ansible-core-d4dfa10cd25391c61bd21fa7c3e08d1ba955b52a.zip
Merging upstream version 2.17.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/ansible/modules/replace.py')
-rw-r--r--lib/ansible/modules/replace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/replace.py b/lib/ansible/modules/replace.py
index 2fee290..8e4b976 100644
--- a/lib/ansible/modules/replace.py
+++ b/lib/ansible/modules/replace.py
@@ -140,7 +140,7 @@ EXAMPLES = r'''
ansible.builtin.replace:
path: /etc/hosts
after: '(?m)^<VirtualHost [*]>'
- before: '(?m)^</VirtualHost>'
+ before: '</VirtualHost>'
regexp: '^(.+)$'
replace: '# \1'