Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ansible: Configuration Management Simplified
Search
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
270
Other Decks in Technology
See All in Technology
グローバル基準のSREは、運用現場でどう機能したか:成熟度アセスメントの実践 / SRE NEXT 2026
sorawatanabe
0
270
SmartHR Engineering Team Deck
smarthr
1
2.2k
つくって納得、つかって実感! 大規模言語モデルことはじめ ver2.0
recruitengineers
PRO
4
1.8k
【CEDEC2026】次世代デジタルカードゲームのサーバー設計と運用 〜『Shadowverse: Worlds Beyond』の舞台裏~
cygames
PRO
1
1.3k
JavaScript 研修 (2026)
recruitengineers
PRO
2
590
Kiro Crew入門 - 常駐エージェントの仕組みと使いどころ / Intro to Kiro Crew
k_adachi_01
1
240
【CEDEC2026】『Relink』を拡張せよ - 『GRANBLUE FANTASY: Relink - Endless Ragnarok』の開発速度と品質を守るCI運用
cygames
PRO
0
190
制約理論(ToC)入門 2026版
recruitengineers
PRO
8
2.4k
Flutterをカメラで動かしたかった話
sony
1
150
メルカリのグローバルアプリで挑んだ AlloyDB 運用と課題解決の実践記
hatappi
0
250
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
240
[ChatGPT Work LT]事務作業が苦手な人のための バックオフィスの「半」自動化
chimaki_iot
0
310
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
790
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
240
Accessibility Awareness
sabderemane
1
180
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
370
Google's AI Overviews - The New Search
badams
0
1.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Balancing Empowerment & Direction
lara
6
1.2k
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