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

(cherry picked from commit b74279d14c)
2018-10-16 15:59:20 -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)