ansible/changelogs/fragments/lineinfile-insertbefore-index-out-of-range.yaml
Sam Doran 19fe83d786 Use proper index value with insertbefore on a one line file (#46071)
Add tests and changelog

(cherry picked from commit b74279d14c)
2018-10-09 12:17:30 -07:00

2 lines
159 B
YAML

bugfixes:
- lineinfile - fix index out of range error when using insertbefore on a file with only one line (https://github.com/ansible/ansible/issues/46043)