diff options
author | Evan Kaufman <evan.kaufman@gmail.com> | 2019-03-26 08:49:58 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-04-01 14:30:44 -0700 |
commit | 384781d0ea636c96f5a4d00c5386b9dd022a4e53 (patch) | |
tree | a0d3bbfa8e24c2f5c803e7bfeb6851417480ecb9 /docs | |
parent | fc2336aef22ece2d6ef9563b4379498ddf2afd66 (diff) | |
download | ansible-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.rst | 3 |
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 ======= |