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
AIに実況させる / AI Streamer
motemen
3
1.4k
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
5.8k
Cloud Run を解剖して コンテナ監視を考える / Breaking Down Cloud Run to Rethink Container Monitoring
aoto
PRO
0
110
いまさら聞けない Git 超入門 〜Gitって結局なに?から始める第一歩〜
devops_vtj
0
160
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
RDRA3.0を知ろう
kanzaki
2
430
Slackひと声でブログ校正!Claudeレビュー自動化編
yusukeshimizu
3
170
GitHub Coding Agent 概要
kkamegawa
1
1.6k
会社員しながら本を書いてきた知見の共有
sat
PRO
3
690
GoogleのAI Agent
shukob
0
120
エンジニア幼年期の終わり
rebase_engineering
1
110
データ戦略部門 紹介資料
sansan33
PRO
1
3.1k
Featured
See All Featured
Speed Design
sergeychernyshev
30
970
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
25
2.8k
Automating Front-end Workflow
addyosmani
1370
200k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Navigating Team Friction
lara
186
15k
Practical Orchestrator
shlominoach
188
11k
Music & Morning Musume
bryan
47
6.5k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
A better future with KSS
kneath
239
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
42
2.3k
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 ?