ansible/changelogs
Jérémy Lecour 2fb9b46752 Lineinfile must not insert lines multiples times with insertbefore/insertafter (#49409)
* Change test suite to fit expected behaviour

This reverts some changes from ansible/ansible@723daf3
If a line is found in the file, exactly or via regexp matching, it must 
not be added again.
insertafter/insertbefore options are used only when a line is to be 
inserted, to specify where it must be added.

* Implement the change in behaviour mentioned in the previous commit

* Fix comment to reflect what the code does

* Set the correct return message.

In these cases, the lines are added, not replaced.

* Add a changelog
2018-12-17 16:42:24 -05:00
..
fragments Lineinfile must not insert lines multiples times with insertbefore/insertafter (#49409) 2018-12-17 16:42:24 -05:00
CHANGELOG.rst fix RPM builds with placeholder CHANGELOG 2018-05-30 16:47:48 -07:00
config.yaml Implement new changelog generator. 2018-06-05 19:08:15 -07:00
rhsm_repository-loop-fix-improvements.yaml Prevent duplicate entries in rhsm_repository module (#48107) 2018-11-07 17:49:12 -05:00
yum-update-only.yaml make yum update_only option actually work (#47942) 2018-11-13 15:04:19 -05:00