Make an SSH connection and run a command from within the playbook

Brian, thanks for the info.

As you mention, I found the netcommon collection (https://docs.ansible.com/ansible/latest/collections/ansible/netcommon/index.html)

I understand the idea, but I don’t understand how to use the connection plugin. (https://docs.ansible.com/ansible/latest/collections/ansible/netcommon/libssh_connection.html#ansible-collections-ansible-netcommon-libssh-connection)

Do you have any example?

Thanks