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
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
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
200
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
高速開発のためのコード整理術
sutetotanuki
1
400
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
190
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
100
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
280
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
570
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
580
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Are puppies a ranking factor?
jonoalderson
1
2.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Amusing Abliteration
ianozsvald
0
100
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
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/