Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ansible: Configuration Management Simplified
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ausmarton Zarino Fernandes
August 31, 2013
Technology
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ansible: Configuration Management Simplified
Ausmarton Zarino Fernandes
August 31, 2013
More Decks by Ausmarton Zarino Fernandes
See All by Ausmarton Zarino Fernandes
Offensive Ruby
ausmarton
1
160
Pelting Rubies
ausmarton
0
280
Other Decks in Technology
See All in Technology
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
740
AIで社員の自主発信に広報目線を組み込む
_mossann_t
0
140
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
150
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
2
730
AIエージェントを最高のパートナーに育てる方法|評価と判断軸を育てる5つのステップ
koichiaoki
1
160
What the customer really needed
kawaguti
PRO
3
220
AI coding 整合正規方法
philipz
0
550
ScotSecure West 2026 - Glasgow
raybugg
0
160
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
1
730
CLIライブラリ開発を支える技術
htnabe
0
150
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
8
6.5k
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
590
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
420
Skip the Path - Find Your Career Trail
mkilby
1
240
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
370
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Become a Pro
speakerdeck
PRO
31
6.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Transcript
Ansible: Configuration Management Simplified Ausmarton Fernandes Consultant
Introducing Ansible • Open source • Configuration management • Orchestration
• Deployment
What makes it different? • No custom crypto • No
daemons • Human readable • Lot of prepackaged modules • A complete tool suite • Features a “dry-run” mode
Why not to use ansible? • Young project • Relatively
smaller ecosystem • Managing very large infrastructures
Ansible Architecture
Inventory • Non standard SSH port web1.example.com:5309 • Custom aliases
my_alias ansible_ssh=5555 ansible_ssh_host=192.168.10.12 • Wildcards, regular expressions • Host variables myhost http_port=80 • Group variables [mygroup:vars] http_port=80
Playbooks • Ansible’s orchestration language • Manage configurations • Manage
deployments • Consists of play(s) • Plays contain task lists
Writing a Playbook • tags • facts • Variables •
Jinja2 syntax {% if host in groups[‘web’] %} ... {% endif %} • Notify/handlers • ansible-playbook playbook.yml
Roles • Automatically include vars, templates required • Predefined file
structure roles/ my_role/ files/ templates/ tasks/ handlers/ vars/ meta/
ansible-pull • Remote copy of ansible • Run via cron
• Pull playbooks from git • Scalability
Demo • Webserver Nginx uWSGI Flask mongoengine • Dbserver mongodb
• AnsibleWorks - http://www.ansibleworks.com/ • MongoDB+Flask - http://docs.mongodb.org/ecosystem/tutorial/write-a- tumblelog-application-with-flask-mongoengine/ •
http://blog.liangzan.net/blog/2012/11/05/first-impressions-of-the- ansible-configuration-management-tool/ • Jinja 2 - http://jinja.pocoo.org/docs/templates/ References https://github.com/ausmarton/ansible-pycon-2013 Demo code