1 Answer

0 votes
by

Ansible modules are reusable, standalone scripts that can be used by Ansible API, then ansible command or ansible playbook command. Modules prints script output in JSON format to STDOUT. Ansible shipped modules are written in Python. Custom modules can be developed in Python, PowerShell or any shell script. Ansible command use ‘command’ module as default 

module, which can be configured in ansible.cfg file. 

...