ansible/test/integration
Sam Doran 4b5b4a760c
Account for empty string regexp in lineinfile (#41451)
* Use context managers for interacting with files

* Account for empty string as regexp

Rather than explicitly testing for None, also test for an empty string which will evaluate to False. An empty string regexp matches every line, which ends up replacing the incorrect line.

* Store line parameter in a variable

* Add tests
2018-06-25 17:57:05 -04:00
..
host_vars
targets Account for empty string regexp in lineinfile (#41451) 2018-06-25 17:57:05 -04: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 opennebula: new module one_host (#40041) 2018-05-17 10:10:49 +02:00
cloud-config-openshift.kubeconfig.template
cloud-config-tower.cfg.template
integration.cfg
integration_config.yml
inventory Use the computed role name instead of 'role'. Fixes #38838 (#39516) 2018-04-30 14:41:13 -05:00
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 2018-06-07 12:46:51 +05:30
target-prefixes.network Add cnos to network target prefixes. 2018-05-17 16:26:55 -07:00
windows-integration.cfg