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
140
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
280
Vagrant: How & Why
cyberomin
0
190
State of the web and web technologies.
cyberomin
1
120
DevOps with Ansible
cyberomin
0
220
Content Delivery Network - Why?
cyberomin
0
50
Git 101
cyberomin
0
330
The Konga Story
cyberomin
1
76
Other Decks in Technology
See All in Technology
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
820
2023年度にEMとして頑張ったこと
ikefukurou777
0
100
社内アプリで Cloudflare D1を プロダクト運用してみた体験談(Tokyo)
haochenx
0
120
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
5
1.7k
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
1.2k
.NET Profiler in 2024.
kkamegawa
2
1.8k
中年男性がメインフレームから クラウドへキャリアシフトしてみた
uechishingo
0
290
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
280
How to Lead? Testimonial of a Lead Android Engineer
oleur
1
110
Building Dashboards as a Hobby
egmc
0
380
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
260
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
8
630
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
Producing Creativity
orderedlist
PRO
338
39k
The Mythical Team-Month
searls
217
42k
For a Future-Friendly Web
brad_frost
172
9k
Bash Introduction
62gerente
605
210k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
In The Pink: A Labor of Love
frogandcode
138
21k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
Building Adaptive Systems
keathley
32
1.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
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