summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorEvan Kaufman <evan.kaufman@gmail.com>2019-03-26 16:49:58 +0100
committerSam Doran <sdoran@redhat.com>2019-03-26 16:49:58 +0100
commitcf69ec5db0f6666d29bd889ad227f92a2eac7b6f (patch)
treed10b8c1f463b7c40df102317e9399329ec21f95a /changelogs
parent[Doc UFW] Precise proto when using multiple ports (#54288) (diff)
downloadansible-cf69ec5db0f6666d29bd889ad227f92a2eac7b6f.tar.xz
ansible-cf69ec5db0f6666d29bd889ad227f92a2eac7b6f.zip
replace - fixed combined before and after usage (#31452)
When using before and after in combination, the opposite behavior was induced. This PR makes the the replacement happen between the specified patterns as intended. * Added integration tests * Add changelog, porting guide entry, and minor doc fixes
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/replace-before-after.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/replace-before-after.yaml b/changelogs/fragments/replace-before-after.yaml
new file mode 100644
index 0000000000..a50d238932
--- /dev/null
+++ b/changelogs/fragments/replace-before-after.yaml
@@ -0,0 +1,2 @@
+bugfixes:
+ - replace - fix behavior when ``before`` and ``after`` are used together (https://github.com/ansible/ansible/issues/31354)