mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
@@ -224,6 +224,8 @@ Noteworthy module changes
|
||||
* The ``pip`` module has added a dependency on ``setuptools`` to support version requirements, this requirement is for
|
||||
the Python interpreter that executes the module and not the Python interpreter that the module is managing.
|
||||
|
||||
* 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
|
||||
=======
|
||||
|
||||
Reference in New Issue
Block a user