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
260
Content Delivery Network - Why?
cyberomin
0
62
Git 101
cyberomin
0
360
The Konga Story
cyberomin
1
96
Other Decks in Technology
See All in Technology
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
130
TUNA Camp 2026 京都Stage ヒューリスティックアルゴリズム入門
terryu16
0
530
新規事業×QAの挑戦:不確実性を乗りこなす!フェーズごとに求められるQAの役割変革
hacomono
PRO
0
190
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
370
CREがSLOを握ると 何が変わるのか
nekomaho
0
110
君はジョシュアツリーを知っているか?名前をつけて事象を正しく認識しよう / Do you know Joshua Tree?
ykanoh
4
130
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
250
Bref でサービスを運用している話
sgash708
0
200
20年以上続く PHP 大規模プロダクトを Kubernetes へ ── クラウド基盤刷新プロジェクトの4年間
oogfranz
PRO
0
310
JEDAI認定プログラム JEDAI Order 2026 受賞者一覧 / JEDAI Order 2026 Winners
databricksjapan
0
370
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
130
スピンアウト講座02_ファイル管理
overflowinc
0
1.4k
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
How to Think Like a Performance Engineer
csswizardry
28
2.5k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Automating Front-end Workflow
addyosmani
1370
200k
Navigating Team Friction
lara
192
16k
Google's AI Overviews - The New Search
badams
0
950
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.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