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
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
180
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
580
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
AIチャットボット開発への生成AI活用
ryomrt
0
170
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
Featured
See All Featured
Happy Clients
brianwarren
98
6.7k
Faster Mobile Websites
deanohume
305
30k
The Cult of Friendly URLs
andyhume
78
6k
Statistics for Hackers
jakevdp
796
220k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
BBQ
matthewcrist
85
9.3k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
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 !