---
# System prepended metadata

title: Ansible Introduction

---

# Ansible Introduction

### Benefits / Features of Ansible
````
- Lower learning curve
- works on SSH (no need to open a special port)
- Agentless (Push based)
- Written in Python
- Playbooks are written in YAML
````
### Ansible Architecture
![AnsibleArchitecture](https://i.imgur.com/NBgAvlC.png)

### Ansible Terminologies
````go=1
Ansible 
    Roles
    --> Playbooks
        --> Plays
            --> Tasks
                --> Modules
        
Additional Concepts
    Vault
    Towers
    Dynamic Inventory
````

### Ansible CLI commands
````go=1
ansible --> Ad Hoc command
ansible-playbook --> Command to run Playbooks
ansible-doc --> to check the documentation (similar to man pages)
ansible-inventory --> to check inventory
ansible-galaxy --> to work with ansible roles
ansible-vault --> Work with Ansible Vault
````