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
73
Testing Go CLI Apps with TestScript
jakubjarosz
0
200
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
340
Testing Erlang Cluster with Python
jakubjarosz
1
120
Other Decks in Programming
See All in Programming
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
730
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
110
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
330
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
200
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
530
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
200
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
180
return文におけるstd::moveについて
onihusube
1
1.3k
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
650
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
300
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
182
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Mobile First: as difficult as doing things right
swwweet
222
9k
Navigating Team Friction
lara
183
15k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Rails Girls Zürich Keynote
gr2m
94
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
450
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.6k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Designing for humans not robots
tammielis
250
25k
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