Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.4k
今からでも間に合う!速習Devin入門とその活用方法
ismk
1
700
品質のための共通認識
kakehashi
PRO
3
260
「図面」から「法則」へ 〜メタ視点で読み解く現代のソフトウェアアーキテクチャ〜
scova0731
0
110
グレートファイアウォールを自宅に建てよう
ctes091x
0
150
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
320
世界最速級 memcached 互換サーバー作った
yasukata
0
340
文字列の並び順 / Unicode Collation
tmtms
3
580
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
160
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
180
Fashion×AI「似合う」を届けるためのWEARのAI戦略
zozotech
PRO
2
460
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Code Reviewing Like a Champion
maltzj
527
40k
Why Our Code Smells
bkeepers
PRO
340
57k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
A better future with KSS
kneath
240
18k
Embracing the Ebb and Flow
colly
88
4.9k
How STYLIGHT went responsive
nonsquared
100
6k
The Language of Interfaces
destraynor
162
25k
Automating Front-end Workflow
addyosmani
1371
200k
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 ?