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
300
Ansible
tnbredillet
October 16, 2013
Tweet
Share
Other Decks in Technology
See All in Technology
LINEヤフーのフロントエンド組織・体制の紹介
lycorp_recruit_jp
1
1.2k
アプリをリリースできる状態に保ったまま 段階的にリファクタリングするための 戦略と戦術 / Strategies and tactics for incremental refactoring
yanzm
6
1.5k
なにもしてないのにNew Relicのデータ転送量が増えていたときに確認したこと
tk3fftk
2
230
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
2
270
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
8
1.4k
OCI で始める!! Red Hat OpenShift / Get Started OpenShift on OCI
oracle4engineer
PRO
1
190
プログラム検証入門
riru
6
880
GC24 Recap: Interface Internals
task4233
0
270
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
7.1k
公共交通データとアプリ制作 - Mini Tokyo 3D の初期制作過程を振り返る
nagix
1
110
コンポーネントテストの手法と その効果を考える
yotahada3
2
160
Tricentisにおけるテスト自動化へのAI活用ご紹介/20240910Shunsuke Katakura
shift_evolve
0
210
Featured
See All Featured
A Tale of Four Properties
chriscoyier
155
22k
The Invisible Side of Design
smashingmag
296
50k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Building Your Own Lightsaber
phodgson
101
6k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
Infographics Made Easy
chrislema
239
18k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
230
17k
Bash Introduction
62gerente
608
210k
The Pragmatic Product Professional
lauravandoore
31
6.2k
GitHub's CSS Performance
jonrohan
1030
450k
Happy Clients
brianwarren
96
6.6k
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 ?