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
390
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
26
Communicating with Tests
jakubjarosz
0
110
Testing Go CLI Apps with TestScript
jakubjarosz
0
220
Testing Go Code
jakubjarosz
0
220
Releasing Go Apps with GoReleaser
jakubjarosz
0
350
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
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
3
650
リッチエディターを安全に開発・運用するために
unachang113
1
250
知って得する@cloudflare_vite-pluginのあれこれ
chimame
1
120
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
300
What's new in Adaptive Android development
fornewid
0
110
テスト駆動Kaggle
isax1015
1
890
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
2
710
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
320
型で語るカタ
irof
1
830
Gemini CLI のはじめ方
ttnyt8701
1
100
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
170
AI Ramen Fight
yusukebe
0
110
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
70
11k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Building Applications with DynamoDB
mza
95
6.5k
Optimizing for Happiness
mojombo
379
70k
Building Adaptive Systems
keathley
43
2.7k
Git: the NoSQL Database
bkeepers
PRO
431
65k
The Cult of Friendly URLs
andyhume
79
6.5k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
760
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