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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
dcn_f
January 29, 2020
Programming
3
720
楽しいインフラ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
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
430
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
Feature Toggle は捨てやすく使おう
gennei
0
390
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
270
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
290
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
260
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
170
おれのAgentic Coding 2026/03
tsukasagr
1
120
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Making Projects Easy
brettharned
120
6.6k
Practical Orchestrator
shlominoach
191
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
BBQ
matthewcrist
89
10k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
85
Marketing to machines
jonoalderson
1
5.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Spectacular Lies of Maps
axbom
PRO
1
660
Mind Mapping
helmedeiros
PRO
1
140
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
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/