Commit graph

4 commits

Author SHA1 Message Date
Andrey Klychkov
3b18337cac lineinfile - fix bug with insertbefore/insertafter and firstmatch () 2019-10-08 10:01:36 -04:00
Sam Doran
723daf3e3a
Check for regexp match when using insertbefore or insertafter ()
Add tests to cover this scenario
Fixes 
2018-02-21 17:03:38 -05:00
Sam Doran
f8f2b6d61d
Fix lineinfile to insert line when pattern exists elsewhere in the file. ()
* Insert lines before or after when the regexp exists elsewhere in the file

* Correct filter syntax in lineinfile integration test

* Use multi-line YAML syntax on lineinfile tests

Unify indentation

* Add lineinfile tests for same line matched to different regexps

* Remove debug statement from test
2018-02-01 16:45:26 -05:00
Matt Clay
75e4645ee7 Migrate Linux CI roles to test targets. () 2016-10-13 09:09:25 -07:00