• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Ansible by
Q:
What is Ansible modules?

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. 

Related questions

0 votes
asked Aug 24, 2019 in Ansible by rahulsharma
0 votes
asked Aug 24, 2019 in Ansible by rahulsharma
...