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
Several topics about Ansible
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ken’ichiro Oyama
March 30, 2017
Technology
680
0
Share
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.4k
Design and implementation of "Markdown to Google Slides" / phpconfuk 2025
k1low
1
860
analysis パッケージの仕組みの上でMulti linter with configを実現する / Go Conference 2025
k1low
1
680
Flight recorder at the application layer (NOT the FlightRecoder newly added at Go 1.25) / Fukuoka.go #22
k1low
0
150
ソフトウェア開発におけるインターフェイスという考え方 / PHPerKaigi 2025
k1low
12
6.2k
Parsing HCL/CUE / Fukuoka.go #21
k1low
0
11k
実践 net/http Middleware パターン / Kizuku.go Vol.1
k1low
2
430
Cleanup handling in Go / Go Conference 2024
k1low
7
4.1k
CI/CDがあたりまえの今の時代にAPIテスティングツールに求められていること / CI/CD Test Night #7
k1low
18
12k
Other Decks in Technology
See All in Technology
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
680
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8k
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
350
AI飲み会幹事エージェントを作っただけなのに
ykimi
0
120
React 19×Rustツール 進化の「ズレ」を設計で埋める
remrem0090
1
110
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
3
2.3k
色を視る
yuzneri
0
330
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
100k
100マイクロサービスのTerraform/Kubernetes管理地獄から抜け出すためのAI活用術
markie1009
0
120
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
0
220
ServiceによるKubernetes通信制御ーClusterIPを例に
miku01
1
160
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
170
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
41
2.5k
The Language of Interfaces
destraynor
162
26k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
510
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Paper Plane (Part 1)
katiecoart
PRO
0
7.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
500
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
180
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