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
0
680
Several topics about Ansible
CIRASU / Ansible徹底入門 輪読会 #0
Ken’ichiro Oyama
March 30, 2017
Tweet
Share
More Decks by Ken’ichiro Oyama
See All by Ken’ichiro Oyama
Introducing RFC9111 / YAPC::Fukuoka 2025
k1low
2
2.5k
Design and implementation of "Markdown to Google Slides" / phpconfuk 2025
k1low
1
620
analysis パッケージの仕組みの上でMulti linter with configを実現する / Go Conference 2025
k1low
1
560
Flight recorder at the application layer (NOT the FlightRecoder newly added at Go 1.25) / Fukuoka.go #22
k1low
0
130
ソフトウェア開発におけるインターフェイスという考え方 / PHPerKaigi 2025
k1low
11
6k
Parsing HCL/CUE / Fukuoka.go #21
k1low
0
10k
実践 net/http Middleware パターン / Kizuku.go Vol.1
k1low
2
390
Cleanup handling in Go / Go Conference 2024
k1low
7
4k
CI/CDがあたりまえの今の時代にAPIテスティングツールに求められていること / CI/CD Test Night #7
k1low
18
12k
Other Decks in Technology
See All in Technology
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
320
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
260
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
17k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
配列に見る bash と zsh の違い
kazzpapa3
3
160
AWS Network Firewall Proxyを触ってみた
nagisa53
1
240
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
100
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.4k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Designing for humans not robots
tammielis
254
26k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Building Adaptive Systems
keathley
44
2.9k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Believing is Seeing
oripsolob
1
56
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
330
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.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