mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f8f2b6d61d
* 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
12 lines
152 B
YAML
12 lines
152 B
YAML
test_regexp:
|
|
- regex: '1'
|
|
replace: 'bar'
|
|
|
|
- regex: '2'
|
|
replace: 'bar'
|
|
|
|
- regex: '3'
|
|
replace: 'bar'
|
|
|
|
- regex: '4'
|
|
replace: 'bar'
|