diff options
author | Sam Doran <sdoran@redhat.com> | 2018-10-03 23:27:34 +0200 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2018-10-03 23:27:34 +0200 |
commit | b74279d14c10a19431bbac7a559678f070a732e6 (patch) | |
tree | a8dbea91f155b845fe6cdafabf5ef7c03b27537d /changelogs | |
parent | Docs: Cleanup make module docs (#46422) (diff) | |
download | ansible-b74279d14c10a19431bbac7a559678f070a732e6.tar.xz ansible-b74279d14c10a19431bbac7a559678f070a732e6.zip |
Use proper index value with insertbefore on a one line file (#46071)
Add tests and changelog
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/lineinfile-insertbefore-index-out-of-range.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/lineinfile-insertbefore-index-out-of-range.yaml b/changelogs/fragments/lineinfile-insertbefore-index-out-of-range.yaml new file mode 100644 index 0000000000..52d4565fea --- /dev/null +++ b/changelogs/fragments/lineinfile-insertbefore-index-out-of-range.yaml @@ -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) |