Talk:Ansible

From Network Security Wiki
Revision as of 16:37, 17 July 2019 by Amanjosan2008 (talk | contribs)

Features of Ansible

  • Ansible is Modular
  • 1000+ Modules available.
  • Modules written in python.

Inventory file

cd install
nano inventory
[all]
controller.example.com
node1.example.com
[servers]
node1.example.com
server1.example.com
ansible all -i inventory --list-hosts

Ansible Config File

/etc/ansible/ansible.cfg
~/.ansible.cfg
ansible.cfg in project directory