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
This commit is contained in:
Evan Kaufman
2019-03-26 08:49:58 -07:00
committed by Sam Doran
parent f9b8371a62
commit cf69ec5db0
6 changed files with 317 additions and 26 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- replace - fix behavior when ``before`` and ``after`` are used together (https://github.com/ansible/ansible/issues/31354)