ANSIBLE


Why Ansible ?



Easy dev box setup
Reliable deployment mechanism
Extensive modules support
Saves time!!!

What is ansible ?



A SIMPLE AUTOMATION TOOL

WHAT CAN IT AUTOMATE ?


App deployment

Configuration Management

Continuous Delivery

Orchestration



Architecture


Playbooks


---- hosts: webservers remote_user: root tasks: - name: start the apache server service: name=httpd state=started sudo: yes

Quick EXAMPLE 




Let's touch a file
ssh-agent bashssh-add ~/.ssh/id_rsa.pub
cd /root/ansibleansible webservers -i hosts -m file -a     'path=~/hello_ansible.txt state=touch mode=0644'


LET'S GET OUR HANDS DIRTY

HOW IS IT DIFFERENT ?


Minimal dependencies
Push model as opposed to Client-Server
No additional open ports
No support for Windows



QUESTIONS ?


Made with Slides.com