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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
310
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
3.3k
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
250
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
370
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
770
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
580
Java 21/25 Virtual Threads 소개
debop
0
310
Coding as Prompting Since 2025
ragingwind
0
320
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
480
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
700
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
Practical Orchestrator
shlominoach
191
11k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
900
Side Projects
sachag
455
43k
Claude Code のすすめ
schroneko
67
220k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
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/