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
720
3
Share
楽しいインフラCI
- Ansibleの紹介
- Playbookを開発する上で発生した課題
- インフラCIとは
dcn_f
January 29, 2020
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
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
430
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
1
170
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
400
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
380
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3.2k
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
4
610
Agentic Elixir
whatyouhide
0
460
Firefoxにコントリビューションして得られた学び
ken7253
2
170
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
160
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
320
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
120
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
320
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
So, you think you're a good person
axbom
PRO
2
2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
AI: The stuff that nobody shows you
jnunemaker
PRO
7
650
Music & Morning Musume
bryan
47
7.2k
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/