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
Ansible-Vaultはこう使え!
Search
Tomohiko Isobe
October 02, 2018
Technology
1
420
Ansible-Vaultはこう使え!
Tomohiko Isobe
October 02, 2018
Tweet
Share
More Decks by Tomohiko Isobe
See All by Tomohiko Isobe
今さらだけど、group_varsとhost_varsについて一言言いたい
isobetomohiko
2
1.5k
Ansibleで構成管理。〜たったひとつの冴えたやりかた〜
isobetomohiko
12
18k
あえて、AnsibleでRDSを構築してみる
isobetomohiko
0
260
Other Decks in Technology
See All in Technology
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
120
10分でわかるfreeeのQA
freee
1
3.4k
[AWS JAPAN 生成AIハッカソン] Dialog の紹介
yoshimi0227
0
150
CyberAgent 生成AI Deep Dive with Amazon Web Services / genai-aws
cyberagentdevelopers
PRO
1
480
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
120
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
端末が簡単にリモートから操作されるデモを通じて ソフトウェアサプライチェーン攻撃対策の重要性を理解しよう
kitaji0306
0
170
GitHub Universe: Evaluating RAG apps in GitHub Actions
pamelafox
0
170
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.7k
Aurora_BlueGreenDeploymentsやってみた
tsukasa_ishimaru
1
120
クライアントサイドでよく使われる Debounce処理 をサーバサイドで3回実装した話
yoshiori
1
150
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
300
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
A better future with KSS
kneath
238
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Designing the Hi-DPI Web
ddemaree
280
34k
Statistics for Hackers
jakevdp
796
220k
How GitHub (no longer) Works
holman
311
140k
Code Review Best Practice
trishagee
64
17k
Transcript
Ansible-Vault ͜͏͑ʂ 2018.10.3 ηΩϡϦςΟڞ༗ษڧձ#18 ү෦ஐ(@isobecky74)
Who am I ? • ү෦ ஐ (Tomohiko Isobe) •
twitter,Qiita: @isobecky74 • Infrastructure EngineerˏΫϦχΧϧɾϓϥοτϑΥʔϜגࣜձࣾ • ౡࠜݝग़ • Job Hopperʢݱࡏ8ࣾ…ʣ • Favorites: ࢙ɾઓΊ͙ΓɺϑΝϛϨε https://clipla.jp
Ansible × ηΩϡϦςΟ
Ansible × ηΩϡϦςΟ ➡ Ansible-Vault
Ansible-Vault • ύεϫʔυʹΑΓPlaybookͰಡΈࠐΉม (YAMLϑΝΠϧ)Λ҉߸Խ͢Δ • ansible-playbook࣮ߦ࣌ʹࣗಈతʹ෮߸ • ύεϫʔυରతʹೖྗ·ͨςΩετϑΝ ΠϧΛࢦఆ
Ansible-Vault • ύεϫʔυʹΑΓPlaybookͰಡΈࠐΉม (YAMLϑΝΠϧ)Λ҉߸Խ͢Δ
͜Ε͕
͜͏ͳͬͯ
͜͏ͳΔ ҉߸Խ͞Ε͕ͨ෮߸Խ͞Εɺ ల։͞ΕΔ
None
՝
৽ͨͳϝϯό͕joinͨ͠ ͋ͷ1MBZCPPLͰಡΜͰΔมͲ͜ ʹఆٛ͞ΕͯΔΜͩʁ HSFQͯ͠Ҿ͔͔ͬΒͳ͍ʜ
৽ͨͳϝϯό͕joinͨ͠ ͋ͷ1MBZCPPLͰಡΜͰΔมͲ͜ ʹఆٛ͞ΕͯΔΜͩʁ HSFQͯ͠Ҿ͔͔ͬΒͳ͍ʜ ҉߸ԽϑΝΠϧͷதʹ͋ΔΑ
৽ͨͳϝϯό͕joinͨ͠
ئ
ئ LFZͦͷ··Ͱ
ئ WBMVF͚ͩ҉߸Խͯ͠΄͍͠ LFZͦͷ··Ͱ
ղܾࡦ
ղܾࡦ • YAMLͷϋογϡΛ͚Δ
ղܾࡦ • YAMLͷϋογϡΛ͚Δ
ղܾࡦ • YAMLͷϋογϡΛ͚Δ ผͷϋογϡͷཁૉࢀরՄೳ
ղܾࡦ • ϑΝΠϧΛ͚Δ
ղܾࡦ • ϑΝΠϧΛ͚Δ
ղܾࡦ • ϑΝΠϧΛ͚Δ ͭͷϑΝΠϧΛ ಡΈࠐ·ͤΕಉٛ
ղܾࡦ • ൿಗใͷvarsϑΝΠϧͷΈ҉߸Խ
͜͏ͳΔ ҉߸Խ͞Ε͕ͨ෮߸Խ͞Εɺ ల։͞ΕΔ
৽ͨͳϝϯό͕joinͨ͠ ͋ͷ1MBZCPPLͰಡΜͰΔมɺ WBMVF͕TFDSFUͷϋογϡ͔ͩΒ ҉߸ԽϑΝΠϧʹ͋ΔΜͩͳ
None
·ͱΊ
·ͱΊ • Ansible-VaultϑΝΠϧ୯Ґͷ҉߸Խ • ҉߸Խ͢ΔมΛ௨ৗͷมͱผϋογϡʹ ͠ɺϑΝΠϧׂ͢Δ͜ͱͰɺൿಗ͖͢ มͰkey҉߸ԽͤͣཧՄೳ • GitHubͰ҆৺ͯ͠ཧͰ͖·͢Ͷ
એ • ࠓճͷݩωλ • https://qiita.com/isobecky74/items/e8755154841a95726622
એ • ଞʹAnsibleωλॻ͍ͯ·͢ • https://qiita.com/isobecky74
Thank you !