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
300
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
57
Testing Go CLI Apps with TestScript
jakubjarosz
0
74
Testing Go Code
jakubjarosz
0
160
Releasing Go Apps with GoReleaser
jakubjarosz
0
250
a quick look at webtest & pytest
jakubjarosz
1
900
Data Driven Integration Testing
jakubjarosz
2
260
Multi Mechanize
jakubjarosz
0
130
Embracing Python for Software Testing - BDD Style
jakubjarosz
0
280
Testing Erlang Cluster with Python
jakubjarosz
1
110
Other Decks in Programming
See All in Programming
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
680
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
0
180
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
880
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
190
PHPはいつから死んでいるかの調査
chiroruxx
1
370
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
ONE WEDGE_company_guide
1wedge_one
0
440
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
270
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
163
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.4k
Facilitating Awesome Meetings
lara
41
5.6k
Side Projects
sachag
451
41k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
The Mythical Team-Month
searls
215
42k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Designing with Data
zakiwarfel
95
4.8k
A designer walks into a library…
pauljervisheath
199
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
How to name files
jennybc
64
93k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
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