ansible/test/integration
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
..
host_vars
targets Lineinfile must not insert lines multiples times with insertbefore/insertafter (#49409) 2018-12-17 16:42:24 -05:00
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template
cloud-config-opennebula.yml.template
cloud-config-openshift.kubeconfig.template
cloud-config-tower.cfg.template
integration.cfg
integration_config.yml
inventory Initial import of MSC module_utils (#46116) 2018-10-29 18:45:42 +01:00
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg
target-prefixes.network Add missing MSC support 2018-11-05 16:38:37 +01:00
windows-integration.cfg