sync/roles/test/tasks/main.yml

8 lines
156 B
YAML
Raw Normal View History

- name: Insert test line
lineinfile:
path: /tmp/file
regexp: '^Listen '
insertafter: '^#Listen '
state: 'present'
line: 'Listen 8080'