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
Ansible
Search
tnbredillet
October 16, 2013
Technology
4
310
Ansible
tnbredillet
October 16, 2013
Tweet
Share
Other Decks in Technology
See All in Technology
Terraformで構築する セルフサービス型データプラットフォーム / terraform-self-service-data-platform
pei0804
1
170
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
200
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
390
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
280
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
140
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
460
Snowflake Intelligenceにはこうやって立ち向かう!クラシルが考えるAI Readyなデータ基盤と活用のためのDataOps
gappy50
0
170
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
160
「全員プロダクトマネージャー」を実現する、Cursorによる仕様検討の自動運転
applism118
21
10k
Rustから学ぶ 非同期処理の仕組み
skanehira
1
130
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.4k
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
210
Featured
See All Featured
Visualization
eitanlees
148
16k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Building Applications with DynamoDB
mza
96
6.6k
BBQ
matthewcrist
89
9.8k
The Cult of Friendly URLs
andyhume
79
6.6k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Optimizing for Happiness
mojombo
379
70k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
A Modern Web Designer's Workflow
chriscoyier
696
190k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
Navigating Team Friction
lara
189
15k
Transcript
INTRODUCTION TO! ANSIBLE! BY THOMAS BREDILLET @THOMASBREDILLET
Deploying, Sharing, Reusing Automate, Orchestrate
Why using Ansible ? • Chef without having to write
Ruby! • Puppet/Salt without masters, minions, manifests, certs..! • Diversity of Ansible modules
Task • It's a unit action that set the state
of a system! • Code that is remotely executed with arguments • Directory should exist! • Service should run! • Package should be installed! • Files should be present
Task • Should be idempotent! • Can use conditionals! •
Can use variables! • Use Ansible modules
Playbook Ordered set of tasks • Bundle of several tasks!
• Set the variable values for the tasks! • Defines which host the bundle of tasks should be applied to.
Playbook • Tasks are executed synchronously! • In parallel across
hosts! • Execution moves on until all tasks complete or all hosts have failed
Playbook
Roles Tasks! Handlers! Variables! Template! Dependencies
Roles
Example .. ! ! ! How we use Ansible!
Other features.. Accelerated mode ! Asynchronous tasks! Dry-run! Error handling!
Tags
Questions ?