ansible/test
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
..
cache
integration Account for empty string regexp in lineinfile (#41451) 2018-06-25 17:57:05 -04:00
legacy Revert "Revert "Remove VC scaleway (#40791)" (#41401)" (#41402) 2018-06-11 11:22:12 -05:00
results
runner reappied changes in a new pr (#41228) 2018-06-13 15:42:29 +08:00
sanity Add shell out checks (#41545) 2018-06-21 11:58:39 -04:00
units Stop displaying kinit pass input on a failure (#41882) 2018-06-26 05:49:19 +10:00
utils Make docs-build sanity test disabled by default. 2018-05-09 17:55:00 -07:00