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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
60
Git 101
cyberomin
0
360
The Konga Story
cyberomin
1
95
Other Decks in Technology
See All in Technology
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
820
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
680
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
3
210
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
980
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
150
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
1
500
A Tale of Four Properties
chriscoyier
162
24k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
The Curious Case for Waylosing
cassininazir
0
240
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Raft: Consensus for Rubyists
vanstee
141
7.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
740
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Six Lessons from altMBA
skipperchong
29
4.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
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