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
Building Environments with Ansible
Search
Jakub Jarosz
November 30, 2017
Programming
0
370
Building Environments with Ansible
Jakub Jarosz
November 30, 2017
Tweet
Share
More Decks by Jakub Jarosz
See All by Jakub Jarosz
Communicating with Tests
jakubjarosz
0
67
Testing Go CLI Apps with TestScript
jakubjarosz
0
190
Testing Go Code
jakubjarosz
0
200
Releasing Go Apps with GoReleaser
jakubjarosz
0
340
a quick look at webtest & pytest
jakubjarosz
1
1k
Data Driven Integration Testing
jakubjarosz
2
290
Multi Mechanize
jakubjarosz
0
140
Embracing Python for Software Testing - BDD Style
jakubjarosz
0
330
Testing Erlang Cluster with Python
jakubjarosz
1
110
Other Decks in Programming
See All in Programming
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
140
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
CSC509 Lecture 09
javiergs
PRO
0
140
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
C++でシェーダを書く
fadis
6
4.1k
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
910
Click-free releases & the making of a CLI app
oheyadam
2
110
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Side Projects
sachag
452
42k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
740
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Building Your Own Lightsaber
phodgson
103
6.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Raft: Consensus for Rubyists
vanstee
136
6.6k
We Have a Design System, Now What?
morganepeng
50
7.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
GraphQLとの向き合い方2022年版
quramy
43
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Transcript
Building Environments with Ansible Tech Talk November 2017 - Jakub
Jarosz
configuration management • Pull vs Push
pull vs push Master VM 1 (Slave) VM 2 (Slave)
pull Master VM 1 (Slave / Agent) VM 2 (Slave
/ Agent)
push Config VM VM 1 VM 2
configuration drift Master VM 1 (Slave) VM 2 (Slave)
infrastructure erosion OS & application upgrades kernel patches software updates
(patches, fix security issues, etc.)
automation fear
automation fear
configuration management • configuration drift • snowflake server • fragile
infrastructure • erosion • automation fear!
infrastructure as code • Systems can be easily reproduced
infrastructure as code • Systems can be easily reproduced •
Systems are disposable
infrastructure as code • Systems can be easily reproduced •
Systems are disposable • Systems are consistent
infrastructure as code • Systems can be easily reproduced •
Systems are disposable • Systems are consistent • Processes are repeatable
infrastructure as code
templates
templates
templates
templates
demo • Building Machine Templates with
packer
packer
packer
packer
packer
ansible demo • Provisioning Machines with
ansible demo workstation server1 parallel
vagrant ansible provisioner
ansible demo • Copy / upload files • Remote commands
ansible demo ad-hoc commands (module copy, shell) workstation rpm repos
server
ansible demo ad-hoc commands (module copy, shell)
ansible galaxy • Roles & Playbooks
ansible galaxy workstation CI server
ansible galaxy workstation CI server
ansible galaxy
ansible galaxy
ansible playbook
role pattern “package -> config -> service”
role pattern “package -> config -> service”
role pattern “package -> config -> service”
role pattern “package -> config -> service”
demo • Provisioning Machines with
jenkins & ansible
infrastructure as code • Procedural • Declarative • Idempotency
resources • http://bit.ly/SnowflakeServer • http://bit.ly/PhoenixServerExample
Thank You! @qba73