summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEvan Kaufman <evan.kaufman@gmail.com>2019-03-26 08:49:58 -0700
committerToshio Kuratomi <a.badger@gmail.com>2019-04-01 14:30:44 -0700
commit384781d0ea636c96f5a4d00c5386b9dd022a4e53 (patch)
treea0d3bbfa8e24c2f5c803e7bfeb6851417480ecb9 /docs
parentfc2336aef22ece2d6ef9563b4379498ddf2afd66 (diff)
downloadansible-384781d0ea636c96f5a4d00c5386b9dd022a4e53.tar.gz
[stable-2.7] 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. (cherry picked from commit cf69ec5db0f6666d29bd889ad227f92a2eac7b6f) Co-authored-by: Evan Kaufman <evan.kaufman@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/docsite/rst/porting_guides/porting_guide_2.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/docsite/rst/porting_guides/porting_guide_2.7.rst b/docs/docsite/rst/porting_guides/porting_guide_2.7.rst
index a4a6e36c20..3c253837d8 100644
--- a/docs/docsite/rst/porting_guides/porting_guide_2.7.rst
+++ b/docs/docsite/rst/porting_guides/porting_guide_2.7.rst
@@ -221,6 +221,9 @@ Noteworthy module changes
#> ansible -m include_role -a 'name=myrole' all
+* Prior to Ansible 2.7.10, the ``replace`` module did the opposite of what was intended when using the ``before`` and ``after`` options together. This now works properly but may require changes to tasks.
+
+
Plugins
=======