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
Ken’ichiro Oyama
March 30, 2017
Technology
690
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
920
analysis パッケージの仕組みの上でMulti linter with configを実現する / Go Conference 2025
k1low
1
740
Flight recorder at the application layer (NOT the FlightRecoder newly added at Go 1.25) / Fukuoka.go #22
k1low
0
160
ソフトウェア開発におけるインターフェイスという考え方 / PHPerKaigi 2025
k1low
12
6.3k
Parsing HCL/CUE / Fukuoka.go #21
k1low
0
11k
実践 net/http Middleware パターン / Kizuku.go Vol.1
k1low
2
450
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
はじめてのDatadog
kairim0
0
270
AI活用を推進するために ファインディが下した、一つの小さな決断
starfish719
0
220
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.8k
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
1.2k
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
140
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
210
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
650
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
2
2.2k
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
180
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
340
Mastering Ruby Box
tagomoris
3
140
Featured
See All Featured
A Soul's Torment
seathinner
6
2.9k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
130
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Deep Space Network (abreviated)
tonyrice
0
160
Designing for Performance
lara
611
70k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
600
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Utilizing Notion as your number one productivity tool
mfonobong
4
310
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
520
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
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