You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Sam Doran 3bec68a3b3 Backport #42013 for 2.6 - linenfile empty regexp warning (#42204)
* Add warning when using an empty regexp in lineinfile (#42013)

* Revert "Account for empty string regexp in lineinfile (#41451)"

This reverts commit 4b5b4a760c.

* Use context managers for interacting with files

* Store line and regexp parameters in a variable

* Add warning when regexp is an empty string

* Remove '=' from error messages

* Update warning message and add changelog

* Add tests

* Improve warning message

Offer an equivalent regexp that won't trigger the warning.
Update tests to match new warning.

* Add porting guide entry for lineinfile change

# Conflicts:
#	docs/docsite/rst/porting_guides/porting_guide_2.7.rst
#	lib/ansible/modules/files/lineinfile.py
#	test/integration/targets/lineinfile/tasks/main.yml

* Add porting guide info
8 years ago
..
host_vars Simplify Windows versions in ansible-test. 8 years ago
targets Backport #42013 for 2.6 - linenfile empty regexp warning (#42204) 8 years ago
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 8 years ago
cloud-config-azure.yml.template Fix Azure config template. 9 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 8 years ago
cloud-config-opennebula.yml.template opennebula: new module one_host (#40041) 8 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 8 years ago
cloud-config-tower.cfg.template Initial Tower module integration test support. 8 years ago
integration.cfg Fix ansible-test config management. 8 years ago
integration_config.yml Fix pip integration test. 8 years ago
inventory Use the computed role name instead of 'role'. Fixes #38838 (#39516) 8 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 8 years ago
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 9 years ago
inventory.winrm.template Increase python version coverage for tests. (#24762) 9 years ago
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 8 years ago
target-prefixes.network Add cnos to network target prefixes. 8 years ago
windows-integration.cfg Fix ansible-test config management. 8 years ago