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
Configuration Management with Ansible
Search
Celestine Omin
June 12, 2016
Technology
1
160
Configuration Management with Ansible
Learn how to manage and deploy on servers using Ansible
Celestine Omin
June 12, 2016
Tweet
Share
More Decks by Celestine Omin
See All by Celestine Omin
Microservices - A love story.
cyberomin
1
310
Vagrant: How & Why
cyberomin
0
200
State of the web and web technologies.
cyberomin
1
130
DevOps with Ansible
cyberomin
0
250
Content Delivery Network - Why?
cyberomin
0
59
Git 101
cyberomin
0
350
The Konga Story
cyberomin
1
91
Other Decks in Technology
See All in Technology
後進育成のしくじり〜任せるスキルとリーダーシップの両立〜
matsu0228
7
3.3k
スタートアップにおけるこれからの「データ整備」
shomaekawa
2
420
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
2
600
衛星画像超解像化によって実現する2D, 3D空間情報の即時生成と“AI as a Service”/ Real-time generation spatial data enabled_by satellite image super-resolution
lehupa
0
160
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
150
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
190
Escaping_the_Kraken_-_October_2025.pdf
mdalmijn
0
170
セキュアな認可付きリモートMCPサーバーをAWSマネージドサービスでつくろう! / Let's build an OAuth protected remote MCP server based on AWS managed services
kaminashi
3
310
プロダクトのコードから見るGoによるデザインパターンの実践 #go_night_talk
bengo4com
1
2.4k
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
210
小学4年生夏休みの自由研究「ぼくと Copilot エージェント」
taichinakamura
0
680
AWS IoT 超入門 2025
hattori
0
330
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
620
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Docker and Python
trallard
46
3.6k
Designing for Performance
lara
610
69k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Transcript
photo Configuration management with Ansible Configuring and deploying on Compute
Engine.
Celestine Omin Software Engineer - Konga. @cyberomin Who am I?
History…. How did we get here?
History…. The Old Guys
History…. Young and hippy
What is Ansbile? “Ansible is a free-software platform for configuring
and managing computers which combines multi-node software deployment, ad hoc task execution, and configuration management.” ~ Wikipedia
Configuration management, what’s that? “Configuration management (CM) is a systems
engineering process for establishing and maintaining consistency of a product's performance, functional, and physical attributes with its requirements, design, and operational information throughout its life” ~ Wikipedia
Configuration management tools 1.Ansible 2.Chef 3.SaltStack 4.Pupette
Why Ansible? 1. Unlike the rest, especially the really popular
Chef, Ansible is agentless. It only requires standard SSH connection. 2. Idempotency.
Installation $ sudo apt-get install software-properties-common $ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update $ sudo apt-get install ansible
Inventories [web] 127.0.0.1 [db] Eu-zone-db-node [lb] Load-balance-node
Commands ansible all –m ping –u celestine ansible all -m
shell -a "ping -c3 localhost" -u celestine
Playbooks Playbooks are Ansible’s configuration, deployment, and orchestration language. They
can describe a policy you want your remote systems to enforce, or a set of steps in a general IT process.
Playbooks - What makes up a playbook Roles – tasks,
handlers, files, templates, vars Group_vars
Roles – Tasks – main.yml ---- - name: Add Nginx
Repository apt_repository: repo='ppa:nginx/stable' state=present - name: Install Nginx apt: name=nginx state=latest update_cache=true notify: Start Nginx
Roles – Handlers – main.yml ---- - name: Start Nginx
service: name=nginx state=started - name: Reload Nginx service: name=nginx state=reloaded
Running a playbook ansible-playbook site.yml
Ansible Galaxy http://galaxy.ansible.com
Questions
thank you