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
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
170
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
230
PHPerのための計算量入門/Complexity101 for PHPer
hanhan1978
5
220
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.3k
kargoの魅力について伝える
magisystem0408
0
210
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
560
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
110
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
190
NilAway による静的解析で「10 億ドル」を節約する #kyotogo / Kyoto Go 56th
ytaka23
3
380
Wantedly での Datadog 活用事例
bgpat
1
530
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Making Projects Easy
brettharned
116
5.9k
Making the Leap to Tech Lead
cromwellryan
133
9k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Optimizing for Happiness
mojombo
376
70k
Code Review Best Practice
trishagee
65
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
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 !