mirror of https://github.com/ansible/ansible.git
Use proper index value with insertbefore on a one line file (#46071)
Add tests and changelogpull/46462/head
parent
b6568c1c75
commit
b74279d14c
@ -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