ansible/test/integration
Jérémy Lecour f9dcf40de5 [backport 2.6] Lineinfile must not insert lines multiples times with insertbefore/insertafter (#50086)
* 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.

(cherry picked from commit 31c11de2af000972ba13f584e82001a2bc9c062a)
(cherry picked from commit eb92ce3d6f036be24fee1bad479daa4e6bc33221)

* Implement the change in behaviour mentioned in the previous commit

(cherry picked from commit a4141cfa2e49973310bba8c0962ef82d66c35f29)
(cherry picked from commit 6afe25d93e9bfe8059e7aa013b412984e272529d)

* Fix comment to reflect what the code does

(cherry picked from commit 150f5cb232f10e38509823cb5864a9fd800b6df5)
(cherry picked from commit 1a13bf06a3b6920c2c99094980bc85ae53e661cd)

* Set the correct return message.

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

(cherry picked from commit 3216c31401d15906e2435422e71dfb96e30678c4)
(cherry picked from commit 5bd04bd5d57dd283de46ae3049dde6e97cdcf0e0)

* Add a changelog

(cherry picked from commit c39cf6b33269eac35c3c769de41e7c3dea642b68)
(cherry picked from commit fc071636b47c6982eb9b5a508545f78ad8e70e96)
2019-01-14 17:52:18 -08:00
..
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
targets [backport 2.6] Lineinfile must not insert lines multiples times with insertbefore/insertafter (#50086) 2019-01-14 17:52:18 -08:00
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 2018-02-06 11:50:16 -05:00
cloud-config-opennebula.yml.template opennebula: new module one_host (#40041) 2018-05-17 10:10:49 +02:00
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 2018-02-14 13:39:42 -08:00
cloud-config-tower.cfg.template Initial Tower module integration test support. 2018-03-07 14:21:55 -08:00
integration.cfg
integration_config.yml Fix pip integration test. 2018-01-31 23:26:16 -08:00
inventory [stable-2.6] Cleanup integration test inventory. (#50753) 2019-01-11 19:46:44 -08:00
inventory.networking.template Reflect new process for network integration tests (#35577) 2018-01-31 14:56:28 -06:00
inventory.remote.template
inventory.winrm.template [stable-2.6] Cleanup integration test inventory. (#50753) 2019-01-11 19:46:44 -08:00
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 2018-06-07 16:19:51 -07:00
target-prefixes.network Add cnos to network target prefixes. 2018-05-17 16:26:55 -07:00
windows-integration.cfg