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
楽しいインフラCI
Search
dcn_f
January 29, 2020
Programming
3
710
楽しいインフラCI
- Ansibleの紹介
- Playbookを開発する上で発生した課題
- インフラCIとは
dcn_f
January 29, 2020
Tweet
Share
More Decks by dcn_f
See All by dcn_f
GitLab CIでPlaybook開発の課題を解決してみた
dcn_f
1
1.1k
Other Decks in Programming
See All in Programming
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
18
9.8k
Swift Updates - Learn Languages 2025
koher
2
420
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
210
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
210
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.2k
OSS開発者という働き方
andpad
5
1.7k
AWS発のAIエディタKiroを使ってみた
iriikeita
1
160
MLH State of the League: 2026 Season
theycallmeswift
0
220
旅行プランAIエージェント開発の裏側
ippo012
2
830
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
690
TDD 実践ミニトーク
contour_gara
1
280
tool ディレクティブを導入してみた感想
sgash708
1
160
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Code Reviewing Like a Champion
maltzj
525
40k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
The Language of Interfaces
destraynor
160
25k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Agile that works and the tools we love
rasmusluckow
330
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Transcript
楽しいインフラCIの世界 Playbook運用時に見えてきた課題
今日話すこと - Ansibleとは(知ってたらスキップ) - Ansible Playbookを開発・運用してきて見えた課題 - インフラCIとは
Ansibleとは
Ansibleとは - 構成管理ツール・自動化ツール etc... - Playbookを使用してインフラ機器を定義通りにする
Ansibleとは httpd起動 cron設定
Ansibleとは httpd起動 cron設定 httpd起動 cron設定 httpd起動 cron設定 httpd起動 cron設定
Ansibleとは - 同じ環境を複数台・複数回作成する - 運用業務で同じような作業を頻繁に行う ↑こんな時にはAnsibleを導入してみましょう
課題
課題 - Playbook修正時、記法が間違ってることがしばしば - Ansibleのver up時、影響調査のコストが大きい
インフラCIとは
インフラCIとは インフラ管理用コードにもCIを適用しようとする考え → Playbookのlintやunit testを自動実行してみよう!
インフラCIとは 構成図 - ジョブ管理: .gitlab-ci.yml - イメージ管理: Gitlab Container Registry
- lintツール: yamllint/ansible-lint etc… - unit testツール: ansible/testinfra/rspec etc...
インフラCIとは - Playbook修正時、記法が間違ってることがしばしば → lintをかけることでレビュー時までの文法チェック◦
インフラCIとは - Ansibleのver up時、影響調査のコストが大きい → ansible-lintの機能により、影響調査の自動化が可能に!
インフラCI めっちゃ便利なので ぜひ実践を!!
ありがとうございました Twitter: @dcn_f ブログ: https://dcn-f.hatenablog.com/