mirror of https://github.com/ansible/ansible.git
Use proper index value with insertbefore on a one line file (#46071)
Add tests and changelog
(cherry picked from commit b74279d14c
)
pull/46479/merge
parent
ac56230d5b
commit
19fe83d786
@ -0,0 +1,2 @@
|
||||
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)
|
Loading…
Reference in New Issue