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
Ken’ichiro Oyama
March 30, 2017
Technology
690
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
More Decks by Ken’ichiro Oyama
See All by Ken’ichiro Oyama
Introducing RFC9111 / YAPC::Fukuoka 2025
k1low
2
5.7k
Design and implementation of "Markdown to Google Slides" / phpconfuk 2025
k1low
1
1.1k
analysis パッケージの仕組みの上でMulti linter with configを実現する / Go Conference 2025
k1low
1
890
Flight recorder at the application layer (NOT the FlightRecoder newly added at Go 1.25) / Fukuoka.go #22
k1low
0
200
ソフトウェア開発におけるインターフェイスという考え方 / PHPerKaigi 2025
k1low
12
6.4k
Parsing HCL/CUE / Fukuoka.go #21
k1low
0
11k
実践 net/http Middleware パターン / Kizuku.go Vol.1
k1low
2
470
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
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
140
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
2.1k
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
170
AI時代、データエンジニアが一番おもろい
genshun9
0
670
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
220
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
2
540
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.4k
`t*(42&t>>10)`だけで音楽が鳴る、Swiftで実装するBytebeat / iOSDC Japan 2026
yutailang0119
0
120
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
330
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
時うどん〜Socket.getifaddrsで学ぶネットワーク編 / Tokiudon: The Socket.getifaddrs Edition
coe401_
3
160
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
360
How to Talk to Developers About Accessibility
jct
2
550
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Agile that works and the tools we love
rasmusluckow
331
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Typedesign – Prime Four
hannesfritz
42
3.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
How to Ace a Technical Interview
jacobian
281
24k
Visualization
eitanlees
152
17k
Transcript
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