Other than the modules themselves, not really, they use
https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/connection.py
to establish a connection via the 'ansible-conneciton' tool (which is
what actually uses the connection plugin), which exposes a socket to
the module, the module then uses jsonrpc to send/read commands sent
over that socket, which ansible-connection relays to the remote target
(while not copying any code to it).

General docs to develop these types of plugins:
 
https://docs.ansible.com/ansible/latest/network/dev_guide/developing_plugins_network.html

main dev guide
https://docs.ansible.com/ansible/latest/dev_guide/index.html

more communication channels (see network working group, they are most
likely to have better answers about this type of development )
https://docs.ansible.com/ansible/latest/community/communication.html

----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CACVha7evJD0XtD3sR%3DHioQcSiGe-8UtSWAVDJtoxcRKjpe07ng%40mail.gmail.com.

Reply via email to