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
19k
あえて、AnsibleでRDSを構築してみる
isobetomohiko
0
270
Other Decks in Technology
See All in Technology
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
440
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.4k
新卒1年目、はじめてのアプリケーションサーバー【IBM WebSphere Liberty】
ktgrryt
0
120
Azureの開発で辛いところ
re3turn
0
240
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
160
re:Invent 2024のふりかえり
beli68
0
110
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
330
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
340
信頼されるためにやったこと、 やらなかったこと。/What we did to be trusted, What we did not do.
bitkey
PRO
0
2.2k
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.4k
カップ麺の待ち時間(3分)でわかるPartyRockアップデート
ryutakondo
0
140
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
34
1.6k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
A better future with KSS
kneath
238
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Rails Girls Zürich Keynote
gr2m
94
13k
GraphQLとの向き合い方2022年版
quramy
44
13k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
The Invisible Side of Design
smashingmag
299
50k
Site-Speed That Sticks
csswizardry
2
270
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
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 !