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
マネジメント視点でのre:Invent参加 ~もしCEOがre:Inventに行ったら~
kojiasai
0
460
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.6k
バクラクにおける可観測性向上の取り組み
yuu26
3
420
Apple/Google/Amazonの決済システムの違いを踏まえた定期購読課金システムの構築 / abema-billing-system
cyberagentdevelopers
PRO
1
220
初心者に Vue.js を 教えるには
tsukuha
5
390
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
27
12k
Nix入門パラダイム編
asa1984
2
200
現地でMeet Upをやる場合の注意点〜反省点を添えて〜
shotashiratori
0
520
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
110
わたしとトラックポイント / TrackPoint tips
masahirokawahara
1
240
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
340
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
How STYLIGHT went responsive
nonsquared
95
5.2k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Git: the NoSQL Database
bkeepers
PRO
425
64k
Gamification - CAS2011
davidbonilla
80
5k
Optimizing for Happiness
mojombo
376
69k
Side Projects
sachag
452
42k
Become a Pro
speakerdeck
PRO
24
5k
The Language of Interfaces
destraynor
154
24k
Done Done
chrislema
181
16k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
41
2.1k
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 ?