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
400
Building Environments with Ansible
Jakub Jarosz
November 30, 2017
Tweet
Share
More Decks by Jakub Jarosz
See All by Jakub Jarosz
Benchmarking - First Steps
jakubjarosz
0
33
Communicating with Tests
jakubjarosz
0
130
Testing Go CLI Apps with TestScript
jakubjarosz
0
230
Testing Go Code
jakubjarosz
0
230
Releasing Go Apps with GoReleaser
jakubjarosz
0
360
a quick look at webtest & pytest
jakubjarosz
1
1.1k
Data Driven Integration Testing
jakubjarosz
2
310
Multi Mechanize
jakubjarosz
0
140
Embracing Python for Software Testing - BDD Style
jakubjarosz
0
370
Other Decks in Programming
See All in Programming
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
250
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
110
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
230
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
500
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
250
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.7k
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
230
CSC305 Lecture 05
javiergs
PRO
0
210
チームの境界をブチ抜いていけ
tokai235
0
180
AI Agent 時代的開發者生存指南
eddie
0
570
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
3.4k
株式会社 Sun terras カンパニーデック
sunterras
0
310
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Documentation Writing (for coders)
carmenintech
75
5.1k
Practical Orchestrator
shlominoach
190
11k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
33
2.3k
A Tale of Four Properties
chriscoyier
161
23k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Rails Girls Zürich Keynote
gr2m
95
14k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Writing Fast Ruby
sferik
629
62k
How STYLIGHT went responsive
nonsquared
100
5.8k
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