8 lines
156 B
YAML
8 lines
156 B
YAML
- name: Insert test line
|
|
lineinfile:
|
|
path: /tmp/file
|
|
regexp: '^Listen '
|
|
insertafter: '^#Listen '
|
|
state: 'present'
|
|
line: 'Listen 8080'
|