summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/replace.py
diff options
context:
space:
mode:
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'