Another authentication option for networking-ansible to connect to switches would be to use ssh keys instead of passwords. Ansible supports this. It's probably just a matter of making sure that we're passing the correct parameters through ansible-runner to take advantage of it.
This currently works by including ansible_ssh_private_key_file=/path/to/ansible-ssh instead of ansible_password