Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Ansible: Automated
App Deployment
Presented By:
Rand Graham
Unix
rmcore.com
• “Deploying Rails applications used to be a pain…” -
Michael Hartl
Rails’ Reputation
rmcore.com
•“Rails sucks
•My experie...
Drawbacks
•Fragile
•Hard to debug
•Error recovery
Shell Scripts
rmcore.com
•DSL - Domain Specific Language
Puppet and Chef
rmcore.com
Don’t Just Take My Word For It
rmcore.com
• Agentless
Ansible Advantages
rmcore.com
• Configuration as Data (YAML)
• Idempotent
•Playbooks contain Plays
•Plays contain Tasks
• Tasks call Modules
•Everything is sequentially ordered except
handlers tha...
A task calls a module to do the work.
Ansible Tasks
rmcore.com
---
- name: Install git
yum: pkg=git
state=installed
Apply changes to multiple machines
Inventory
rmcore.com
[web]
webserver-1.foo.com
webserver-2.foo.com
[db]
dbserver-1.foo....
not all tasks are run:
Output of playbook
rmcore.com
PLAY [rails]
GATHERING FACTS
ok: [136.166.60.99]
PLAY RECAP
136.166.6...
ansible-playbook -i inventories/staging site.yml
Ansible One Liners
rmcore.com
ansible-playbook -i inventories/staging dep...
Efficient Rails DevOps
rmcore.com
Remember:
rmcore.com
Connect with me on twitter:
@rdg_rmcore
Read more at my website:
http://rmcore.com/
On the internets
rmcore.com
• The sad state of web app deployment
• Ruby on Rails Tutorial
• Efficient Rails DevOps
• An Overview of Chef
• Ansible Qu...
•Photo of forge by Andrew Stawarz.
Credits
rmcore.com
Upcoming SlideShare
Loading in …5
×

of

Ansible: Automated App Deployment Slide 1 Ansible: Automated App Deployment Slide 2 Ansible: Automated App Deployment Slide 3 Ansible: Automated App Deployment Slide 4 Ansible: Automated App Deployment Slide 5 Ansible: Automated App Deployment Slide 6 Ansible: Automated App Deployment Slide 7 Ansible: Automated App Deployment Slide 8 Ansible: Automated App Deployment Slide 9 Ansible: Automated App Deployment Slide 10 Ansible: Automated App Deployment Slide 11 Ansible: Automated App Deployment Slide 12 Ansible: Automated App Deployment Slide 13 Ansible: Automated App Deployment Slide 14 Ansible: Automated App Deployment Slide 15 Ansible: Automated App Deployment Slide 16 Ansible: Automated App Deployment Slide 17
Upcoming SlideShare
Cyansible
Next
Download to read offline and view in fullscreen.

0 Likes

Share

Download to read offline

Ansible: Automated App Deployment

Download to read offline

Ansible is an automation tool for administering groups of servers. It also automates repetitive tasks such as deploying apps to those servers. It is a compelling choice for software developers that need to manage servers.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

Ansible: Automated App Deployment

  1. 1. Ansible: Automated App Deployment Presented By: Rand Graham
  2. 2. Unix rmcore.com
  3. 3. • “Deploying Rails applications used to be a pain…” - Michael Hartl Rails’ Reputation rmcore.com •“Rails sucks •My experience is admittedly limited here, but as far as I can tell, installing a Rails app is impossible.” -Eevee
  4. 4. Drawbacks •Fragile •Hard to debug •Error recovery Shell Scripts rmcore.com
  5. 5. •DSL - Domain Specific Language Puppet and Chef rmcore.com
  6. 6. Don’t Just Take My Word For It rmcore.com
  7. 7. • Agentless Ansible Advantages rmcore.com • Configuration as Data (YAML) • Idempotent
  8. 8. •Playbooks contain Plays •Plays contain Tasks • Tasks call Modules •Everything is sequentially ordered except handlers that run at the end. Ansible Playbooks rmcore.com
  9. 9. A task calls a module to do the work. Ansible Tasks rmcore.com --- - name: Install git yum: pkg=git state=installed
  10. 10. Apply changes to multiple machines Inventory rmcore.com [web] webserver-1.foo.com webserver-2.foo.com [db] dbserver-1.foo.com
  11. 11. not all tasks are run: Output of playbook rmcore.com PLAY [rails] GATHERING FACTS ok: [136.166.60.99] PLAY RECAP 136.166.60.99 : ok=14 changed=7 unreachable=0 failed=0
  12. 12. ansible-playbook -i inventories/staging site.yml Ansible One Liners rmcore.com ansible-playbook -i inventories/staging deploy_app.yml Provision Deploy
  13. 13. Efficient Rails DevOps rmcore.com
  14. 14. Remember: rmcore.com
  15. 15. Connect with me on twitter: @rdg_rmcore Read more at my website: http://rmcore.com/ On the internets rmcore.com
  16. 16. • The sad state of web app deployment • Ruby on Rails Tutorial • Efficient Rails DevOps • An Overview of Chef • Ansible Quick Start Video • Stockfighter CTF • There Is No Cloud • Cloudcast Ansible Episode • Postgresql Automation w/Ansible References rmcore.com
  17. 17. •Photo of forge by Andrew Stawarz. Credits rmcore.com

Ansible is an automation tool for administering groups of servers. It also automates repetitive tasks such as deploying apps to those servers. It is a compelling choice for software developers that need to manage servers.

Views

Total views

3,564

On Slideshare

0

From embeds

0

Number of embeds

2,638

Actions

Downloads

8

Shares

0

Comments

0

Likes

0

×