Submit Search
Upload
Ansible lightning talk at Scale 12
•
Download as PPTX, PDF
•
0 likes
•
1,368 views
J
Justin Garrison
Follow
Really simple configuration management and orchestration with Ansible
Read less
Read more
Technology
Report
Share
Report
Share
1 of 24
Download now
Recommended
Virthualenvwrapper
Virthualenvwrapper
Kazufumi Ohkawa
Fabric for fun_and_profit
Fabric for fun_and_profit
Javier Jair Trejo García
Traceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14th
Carsten Sandtner
Ansible
Ansible
Michal Haták
Designing net-aws-glacier
Designing net-aws-glacier
Workhorse Computing
Toolbox of a Ruby Team
Toolbox of a Ruby Team
Arto Artnik
fog or: How I Learned to Stop Worrying and Love the Cloud
fog or: How I Learned to Stop Worrying and Love the Cloud
Wesley Beary
Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
Andreas Heim
Recommended
Virthualenvwrapper
Virthualenvwrapper
Kazufumi Ohkawa
Fabric for fun_and_profit
Fabric for fun_and_profit
Javier Jair Trejo García
Traceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14th
Carsten Sandtner
Ansible
Ansible
Michal Haták
Designing net-aws-glacier
Designing net-aws-glacier
Workhorse Computing
Toolbox of a Ruby Team
Toolbox of a Ruby Team
Arto Artnik
fog or: How I Learned to Stop Worrying and Love the Cloud
fog or: How I Learned to Stop Worrying and Love the Cloud
Wesley Beary
Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
Andreas Heim
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
Mario IC
Ansible 202
Ansible 202
Sebastian Montini
Usecase examples of Packer
Usecase examples of Packer
Hiroshi SHIBATA
Quick and Dirty Python Deployments with Heroku
Quick and Dirty Python Deployments with Heroku
Daniel Pritchett
Kotlin 1.2: Sharing code between platforms
Kotlin 1.2: Sharing code between platforms
Kirill Rozov
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Keith Resar
Opps i deployed it again
Opps i deployed it again
Dylan Jay
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
Alan Parkinson
VMUGIT UC 2013 - 07c Veeam
VMUGIT UC 2013 - 07c Veeam
VMUG IT
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Almir Mendes
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
崇之 清水
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Heroku
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
David Benjamin
Ansible 202 - sysarmy
Ansible 202 - sysarmy
Sebastian Montini
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
Marc Müller
Ender
Ender
ffffat
Create Development and Production Environments with Vagrant
Create Development and Production Environments with Vagrant
Brian Hogan
Ansible on AWS
Ansible on AWS
Diego Pacheco
Php resque
Php resque
Chaitanya Kuber
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
Puppet
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Puppet
Self revisor
Self revisor
Li Jiansheng
More Related Content
What's hot
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
Mario IC
Ansible 202
Ansible 202
Sebastian Montini
Usecase examples of Packer
Usecase examples of Packer
Hiroshi SHIBATA
Quick and Dirty Python Deployments with Heroku
Quick and Dirty Python Deployments with Heroku
Daniel Pritchett
Kotlin 1.2: Sharing code between platforms
Kotlin 1.2: Sharing code between platforms
Kirill Rozov
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Keith Resar
Opps i deployed it again
Opps i deployed it again
Dylan Jay
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
Alan Parkinson
VMUGIT UC 2013 - 07c Veeam
VMUGIT UC 2013 - 07c Veeam
VMUG IT
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Almir Mendes
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
崇之 清水
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Heroku
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
David Benjamin
Ansible 202 - sysarmy
Ansible 202 - sysarmy
Sebastian Montini
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
Marc Müller
Ender
Ender
ffffat
Create Development and Production Environments with Vagrant
Create Development and Production Environments with Vagrant
Brian Hogan
Ansible on AWS
Ansible on AWS
Diego Pacheco
Php resque
Php resque
Chaitanya Kuber
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
Puppet
What's hot
(20)
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
Ansible 202
Ansible 202
Usecase examples of Packer
Usecase examples of Packer
Quick and Dirty Python Deployments with Heroku
Quick and Dirty Python Deployments with Heroku
Kotlin 1.2: Sharing code between platforms
Kotlin 1.2: Sharing code between platforms
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Opps i deployed it again
Opps i deployed it again
Baking in the cloud with packer and puppet
Baking in the cloud with packer and puppet
VMUGIT UC 2013 - 07c Veeam
VMUGIT UC 2013 - 07c Veeam
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
AWS SDK for PHP のインストールから 始めるクラウドマスターへの道 〜 Promise による非同期オペレーション 〜
Noah Zoschke at Waza 2013: Heroku Secrets
Noah Zoschke at Waza 2013: Heroku Secrets
Capistrano, Puppet, and Chef
Capistrano, Puppet, and Chef
Ansible 202 - sysarmy
Ansible 202 - sysarmy
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
Ender
Ender
Create Development and Production Environments with Vagrant
Create Development and Production Environments with Vagrant
Ansible on AWS
Ansible on AWS
Php resque
Php resque
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
Similar to Ansible lightning talk at Scale 12
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Puppet
Self revisor
Self revisor
Li Jiansheng
Deploying Symfony | symfony.cat
Deploying Symfony | symfony.cat
Pablo Godel
Fabric workshop(1) - (MOSG)
Fabric workshop(1) - (MOSG)
Soshi Nemoto
Ansible : what's ansible & use case by REX
Ansible : what's ansible & use case by REX
Saewoong Lee
NLIT 2011: Chef & Capistrano
NLIT 2011: Chef & Capistrano
nickblah
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
CloudOps2005
WordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry Pi
Yuriko IKEDA
FreeBSD: Dev to Prod
FreeBSD: Dev to Prod
Sean Chittenden
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
Jeff Geerling
Installing GravCMS
Installing GravCMS
George Sumpster
infra-as-code
infra-as-code
Itamar Hassin
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
Sysdig
An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring
Abhishek Kumar
Automated Java Deployments With Rpm
Automated Java Deployments With Rpm
Martin Jackson
Instrumentación de entrega continua con Gitlab
Instrumentación de entrega continua con Gitlab
Software Guru
OpenStack Tokyo Meeup - Gluster Storage Day
OpenStack Tokyo Meeup - Gluster Storage Day
Dan Radez
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
Scaleway
Heroku 101 py con 2015 - David Gouldin
Heroku 101 py con 2015 - David Gouldin
Heroku
Rush, a shell that will yield to you
Rush, a shell that will yield to you
guestdd9d06
Similar to Ansible lightning talk at Scale 12
(20)
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013
Self revisor
Self revisor
Deploying Symfony | symfony.cat
Deploying Symfony | symfony.cat
Fabric workshop(1) - (MOSG)
Fabric workshop(1) - (MOSG)
Ansible : what's ansible & use case by REX
Ansible : what's ansible & use case by REX
NLIT 2011: Chef & Capistrano
NLIT 2011: Chef & Capistrano
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
WordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry Pi
FreeBSD: Dev to Prod
FreeBSD: Dev to Prod
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
Installing GravCMS
Installing GravCMS
infra-as-code
infra-as-code
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring
Automated Java Deployments With Rpm
Automated Java Deployments With Rpm
Instrumentación de entrega continua con Gitlab
Instrumentación de entrega continua con Gitlab
OpenStack Tokyo Meeup - Gluster Storage Day
OpenStack Tokyo Meeup - Gluster Storage Day
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
Heroku 101 py con 2015 - David Gouldin
Heroku 101 py con 2015 - David Gouldin
Rush, a shell that will yield to you
Rush, a shell that will yield to you
Recently uploaded
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Recently uploaded
(20)
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Ansible lightning talk at Scale 12
1.
@rothgar /rothgar
2.
3.
4.
# apt-get install
ansible # yum install ansible # pip install ansible $ git clone git://github.com/ansible/ansible.git
5.
Host Inventory
6.
# /etc/ansible/hosts app01.xmpl.info FQDN
7.
# /etc/ansible/hosts app01.xmpl.info [web] Group web01.xmpl.info web02.xmpl.info
8.
# /etc/ansible/hosts app01.xmpl.info [web] web[01:05].xmpl.info Black Magic
9.
# /etc/ansible/hosts app01.xmpl.info [web] web[01:05].xmpl.info [db] db-[a:c].xmpl.info ansible_ssh_user=dbadmin Host
Variables
10.
# /etc/ansible/hosts app01.xmpl.info [web] web[01:05].xmpl.info [db] db-[a:c].xmpl.info ansible_ssh_user=dbadmin [production] web Nested
Groups db-[a:b].xmpl.info
11.
12.
THERE ARE NO
AGENTS! SSH Python 2.4+
13.
Modules http://j.mp/ansible-modules ec2, gce, rax,
quantum, docker facter, ohai, mount, modprobe, cron yum, apt, gem, pip, service mysql, postgresql, redis, riak nagios, jabber, irc, mail, osx_say, pingdom
14.
Recap 1. Install Ansible 2.
Create inventory (/etc/ansible/hosts) LOL 3. Install Agent 4. Automate
15.
# ansible production
-m apt -a upgrade=dist everything else app01.xmpl.info db-c.xmpl.info [production] web db-[a:b].xmpl.info # ansible !production -m apt -a upgrade=dist
16.
Playbooks
17.
# ansible-playbook site.yml
18.
--- YAML: module: other_options:
19.
--- Exit Strategy
(GTFO) - name: file: path=/ state=absent recurse=yes when: theyre_on_to_us|bool tags: YOLO
20.
--- DNS fix -
name: template: src=hosts.j2 dest=/etc/hosts owner=root group=root mode=0644
21.
#/etc/hosts 127.0.0.1 localhost {{ansible_hostname}} {%
for k,v in hostvars.iteritems() %} {{v['ansible_eth0']['ipv4']['address] }} {{k}} {% endfor %}
22.
Other Cool Stuff roles handlers loops
(with_items) rolling updates task delegation
23.
Recap 1. On the fly
orchestration 2. Idempotent playbooks 3. You already have all the infrastructure you need (SSH)
24.
Further Reading docs.ansible.com galaxy.ansible.com j.mp/ansible-modules j.mp/ansible-examples j.mp/ansible-lightning-talk
Download now