Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ansible Night in Osaka 2018.07
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
curry9999
July 12, 2018
Technology
910
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ansible Night in Osaka 2018.07
curry9999
July 12, 2018
More Decks by curry9999
See All by curry9999
AWS CDK Deep Dive - migration -
curry9999
0
860
Ansibleを使用したWindows管理
curry9999
3
6.8k
Ansibleブログ活動報告2017
curry9999
3
14k
Other Decks in Technology
See All in Technology
2拠点SRE活動始めてみた | sogaoh's LT @ ホンマでっかSRE勉強会 #3
sogaoh
PRO
0
240
[re:Invent2026事前勉強会(有志開催)]続きは、ラスベガスの廊下で / continue-in-the-vegas-hallway
sh_fk2
0
500
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
6
3.6k
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
3
700
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
0
110
続・ソフトウェアアーキテクトのための意思決定術: Decision Readiness, Revisited — When AI Changes the Economics of Software Architecture
snoozer05
PRO
4
1.1k
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
460
re:Inventで、人生は変わったのか? / growth-builders-hub-1-reinvent-2026
mhrtech
2
300
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
260
SLOを阻む不安
sraku2159
0
220
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
150
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
630
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
730
How to make the Groovebox
asonas
2
2.5k
エンジニアに許された特別な時間の終わり
watany
109
250k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Building Adaptive Systems
keathley
44
3.3k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
A Tale of Four Properties
chriscoyier
163
24k
Transcript
ANSIBLE VAULT 導入を検討しませんか Ansible Night in Osaka 2018.07
自己紹介 ツイッター: curry9999 メール:
[email protected]
ブログ: awsbloglink.wordpress.com 仕事: DevOps Architect
2
好きなANSIBLEモジュール win_hostname Windowsサーバのホスト名を変更する。 Ansible 2.6の新モジュール。 実行方法については、下記のブログを参照 「AnsibleでWindowsホスト名を変更する方法」 3
ANSIBLE導入前に聞かれること 4 ▪ 機密情報を保護することができるのか ▪ Windowsを管理することができるのか ▪ 無料で利用できるのか
ANSIBLE VAULT 概要 5 ▪ Ansibleが提供する暗号化ツール ▪ コマンドはansible-vaultを使用 ▪ 暗号化/複合化の際にパスワードを指定
メリット/デメリット 6 [メリット] ▪ 機密情報の閲覧を制限することができる ▪ 共有リポジトリに格納しても内容を保護できる [デメリット] ▪ ansible-vaultのパスワード管理が必須
7 実行サンプル
YAML作成 8 [コマンド] $ ansible-vault create slack_vault.yml [パスワード] New Vault
password: abcde@! Confirm New Vault password: abcde@! [設定する内容] token: a/b/c
暗号化確認 9 [コマンド] $ cat slack_vault.yml [結果] …ANSIBLE_VAULT;1.1;AES256…
編集 10 [コマンド] $ ansible-vault edit slack_vault.yml [パスワード] Vault password:
abcde@! [結果] token: a/b/d
閲覧 11 [コマンド] $ ansible-vault view slack_vault.yml [パスワード] Vault password:
abcde@! [結果] token: a/b/d
PLAYBOOK実行 12 [コマンド] $ ansible-playbook –i hosts site.yml ¥ --ask-vault-pass
[パスワード] Vault password: abcde@! [結果] ok=1 changed=1 unreachable=0 failed=0
13 注意事項
ANSIBLE VAULT 性能対策 14 [コマンド] $ pip install cryptography [備考]
cryptography 無:10秒 cryptography 有: 2秒
15 まとめ
16 ▪ Ansible Vaultの利用をお願い。 ▪ Ansible導入のハードルを下げる。
17 続きはブログで
18 ▪ ansible-vault 検証 ▪ ansible-vault 検証 vol.2 ▪ Ansible
2.4 新機能 Ansible-Vault 複数の複合キー対応 ▪ ansible-vault ベンチマーク など
19 おまけ
トップページ 20
ANSIBLE 新モジュール一覧 21
WINDOWSホスト名を変更する 22
ANSIBLE モジュールの歴史 23
ANSIBLE モジュールの歴史 24
ANSIBLE モジュールの歴史 - MODULE_COUNT 01 25
ANSIBLE モジュールの歴史 - MODULE_COUNT 02 26
ANSIBLE モジュールの歴史 - MODULE_COUNT 03 27
ANSIBLE モジュールの歴史 - MODULE_LIST 01 28
ANSIBLE モジュールの歴史 - MODULE_LIST 02 29
ANSIBLE モジュールの歴史 - MODULE_LIST 03 30
31 まとめ (デジャヴ)
32 Voice only
33 Thanks for listening.