summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/lineinfile/vars/main.yml
blob: 6e99d4f1a4a305c359d7fed62784bfbad10fcba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
test_regexp:
  - regex: '1'
    replace: 'bar'

  - regex: '2'
    replace: 'bar'

  - regex: '3'
    replace: 'bar'

  - regex: '4'
    replace: 'bar'


test_befaf_regexp:
  - before: section_three
    after: section_one
    regexp: option_one=
    line: option_one=1

  - before: section_three
    after: section_one
    regexp: option_two=
    line: option_two=2

  - before: section_three
    after: section_one
    regexp: option_three=
    line: option_three=3