* Fix bug in `lineinfile` where the line would not be inserted when using `insertbefore` or `insertafter` if the pattern occured anywhere in the file. (https://github.com/ansible/ansible/issues/28721)
* Fix connection local getting overridden by network_cli for transport nxapi,eapi for platform agnostic modules