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
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
150
Pelting Rubies
ausmarton
0
270
Other Decks in Technology
See All in Technology
Sociotechnical Architecture Reviews: Understanding Teams, not just Artefacts
ewolff
1
180
AIのための特別なアーキテクチャはいらない 0→1開発で実践した設計原則とガードレール
kaminashi
0
130
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
240
Databricks 月刊サービスアップデートまとめ 2026年04月号
tyosi1212
0
120
インプロセスQAのための要因から捉えるプロジェクトリスクマネジメントnano #1 開発リソース効率状態への対処 #jasstnano
barus_qa
0
100
JTCでRedmine利用者2700人を実現した手法 第二部
nobuonakamura
0
110
「強制アップデート」か「チームの自律」か?エンタープライズが辿り着いたプラットフォームのハイブリッド運用/cloudnative-kaigi-hybrid-platform-operations
mhrtech
0
200
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.4k
「背中を見て育て」からの卒業 〜専門技術としてのテスト設計を軸に、品質保証のバトンを繋ぐ〜 #genda_tech_talk
nihonbuson
PRO
3
1.4k
GCASアップデート(202603-202605)
techniczna
0
140
20260513_生成AIを専属DSに_AI分析結果の検品テクニック_ハンズオン_交通事故データ
doradora09
PRO
0
230
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
4
180
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Typedesign – Prime Four
hannesfritz
42
3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Color Theory Basics | Prateek | Gurzu
gurzu
0
310
Utilizing Notion as your number one productivity tool
mfonobong
4
300
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
740
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
290
So, you think you're a good person
axbom
PRO
2
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