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
2025年のARグラスの潮流
kotauchisunsun
0
800
トラブルシュートを楽しもう (wakamonog meeting 15)
recuraki
0
130
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.6k
【Oracle Cloud ウェビナー】2025年のセキュリティ脅威を読み解く:リスクに備えるためのレジリエンスとデータ保護
oracle4engineer
PRO
1
100
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
190
DMMブックスへのTipKit導入
ttyi2
1
110
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
FODにおけるホーム画面編成のレコメンド
watarukudo
PRO
2
280
When Windows Meets Kubernetes…
pichuang
0
310
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.4k
デジタルアイデンティティ技術 認可・ID連携・認証 応用 / 20250114-OIDF-J-EduWG-TechSWG
oidfj
2
700
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
460
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Adopting Sorbet at Scale
ufuk
74
9.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Designing on Purpose - Digital PM Summit 2013
jponch
116
7.1k
Thoughts on Productivity
jonyablonski
68
4.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Cult of Friendly URLs
andyhume
78
6.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.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 !