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/46306/head^2
parent
4f8c82ca2c
commit
5cc5be07fb
@ -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