Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Several topics about Ansible
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ken’ichiro Oyama
March 30, 2017
Technology
700
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Several topics about Ansible
CIRASU / Ansible徹底入門 輪読会 #0
Ken’ichiro Oyama
March 30, 2017
Transcript
22 slides
Several topics about Ansible Kenʼichiro Oyama Fusic Co.,Ltd. 2017.3.30 1
CIRASU / Ansible徹底⼊⾨ 輪読会 #0
今⽇はAnsibleについての話題を いろいろ持ってきました 2 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
是⾮、いつでも、 途中で参戦してきてください 3 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
Who 4 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
k1LoW Kenʼichiro Oyama @k1LoW Fusic Co.,Ltd. エンジニア
CakePHP/AWS/さくらVPS GitHub organizations fukuokarb / dotcake / emacs-jp / etc. awspecというAWS⽤のテストツールを作って います https://github.com/k1LoW/awspec 5 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
最近やっていること 6 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
7 CIRASU / Ansible徹底⼊⾨ 輪読会 #0 PHPカンファレンス福岡2017の セッションテーマを考えています! 皆さんも是⾮! ご応募お待ちしております!!
さて 8 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
アイスブレイク 9 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
PHP Matsuri 2013 LT 再演 10 CIRASU / Ansible徹底⼊⾨ 輪読会
#0
devilsʼpie Ansibleの無駄遣い https://www.youtube.com/watch? v=jYS55isUG1s https://github.com/k1LoW/devilspie 11 CIRASU
/ Ansible徹底⼊⾨ 輪読会 #0
/アイスブレイク 12 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
FusicにおけるAnsibleの活⽤ 構成管理ツールのデファクトスタンダード 「え?Playbookないの?」って煽られるレベ ルから、今は怒られるレベル 原則としてベストプラクティスにそっている http://docs.ansible.com/ansible/playbooks_best_practices.html
めちゃくちゃ古いのはカオスで⽬も当てられ ない 13 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
Ansibleチョットデキル LAMP、LAPPは数限りなく書きました 複数台構成に適⽤とか ⼀気に3階層システムができたとき嬉しい nmcli module使ったり使わなかったりでネッ
トワーク設定とか nmcli module使ってますか? firewalldの設定をmodule使わずにいい感じに 設定とか firewalld module使ってますか? ansible.el書いてる(た) Ansibleのソースコードをパースして作成しています 14 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
ansible_tools.gem http://qiita.com/volanja/items/e7178c476625d8543f68 Roleを作成するときに使っている かれこれ4年 15 CIRASU /
Ansible徹底⼊⾨ 輪読会 #0 $ gem install ansible_tools $ ansible-tools init -r nginx -y
ansible-lint Ansible⽤Lint 古い書き⽅していると怒られる ( sudo とか ) 16
CIRASU / Ansible徹底⼊⾨ 輪読会 #0 $ pip2 install ansible-lint $ ansible-lint site.yml
「Roleは再利⽤できない」派なんですけど 汎⽤性を⾼めると中のコードの条件分岐がツラ い プロジェクトごとに事情がある 「サーバ設定記録書のコード化」として使っ ているので
Ansible Galaxyはソースコードを参考にするだ け 皆さんどうですか? 17 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
「hosts_vars、group_vars、role_varsは 使わない」派なんですけど 優先順位が覚えられない 汎⽤性求めていないのでデフォルト値はいらな い 開発/本番の切り替えはPlaybookの切り替えで 対応
皆さんどうですか? 18 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
「Roleを指定した実⾏が欲しい」派 なんですけど tagsを駆使すればいけそう 皆さんどうですか? 19 CIRASU / Ansible徹底⼊⾨
輪読会 #0 - hosts: app roles: - role: nginx tags: nginx - role: php tags: php
ネタ切れ 20 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
Thank you! Fusicはテクノロジーが 好きなエンジニアを募集しています https://fusic.github.io 21 CIRASU / Ansible徹底⼊⾨ 輪読会
#0
22 CIRASU / Ansible徹底⼊⾨ 輪読会 #0
More Decks by Ken’ichiro Oyama
See All by Ken’ichiro Oyama
Introducing RFC9111 / YAPC::Fukuoka 2025
k1low
2
5.9k
Design and implementation of "Markdown to Google Slides" / phpconfuk 2025
k1low
1
1.2k
analysis パッケージの仕組みの上でMulti linter with configを実現する / Go Conference 2025
k1low
1
940
Flight recorder at the application layer (NOT the FlightRecoder newly added at Go 1.25) / Fukuoka.go #22
k1low
0
210
ソフトウェア開発におけるインターフェイスという考え方 / PHPerKaigi 2025
k1low
12
6.5k
Parsing HCL/CUE / Fukuoka.go #21
k1low
0
11k
実践 net/http Middleware パターン / Kizuku.go Vol.1
k1low
2
490
Cleanup handling in Go / Go Conference 2024
k1low
7
4.2k
CI/CDがあたりまえの今の時代にAPIテスティングツールに求められていること / CI/CD Test Night #7
k1low
18
12k
Other Decks in Technology
See All in Technology
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
670
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
430
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
410
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
320
Bots in Kiro Crew (One point of contact for ongoing work) | Kiro: Zero to Hero 12
inariku
PRO
1
130
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
AWS Quick 入門 | 目指せ Quick マスター 01
inariku
PRO
2
340
農夫は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
0
240
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
160
開発者とAIで共に歩み育てていく OSS開発 ~創造しながら育てていく~ / 20261105 Masaki Okuda
shift_evolve
PRO
1
110
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
330
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
280
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
GraphQLとの向き合い方2022年版
quramy
50
15k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Visualization
eitanlees
153
17k
Code Reviewing Like a Champion
maltzj
529
40k
Discover your Explorer Soul
emna__ayadi
2
1.3k