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
MacをAnsibleで 構成管理しちゃったお話
Search
adachi.ryo
July 30, 2019
Programming
3.5k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MacをAnsibleで 構成管理しちゃったお話
https://ansible-users.connpass.com/event/135965/
adachi.ryo
July 30, 2019
More Decks by adachi.ryo
See All by adachi.ryo
横断SREがSRE社内留学制度 / Enablingになぜ踏み切ったのか
rvirus0817
0
1.2k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
6.1k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
6.8k
Findy Team+のSOC2取得までの道のり
rvirus0817
0
6.2k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
6.1k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
2
9.3k
Amazon Security Lakeを活用したセキュリティログの集約とAIによる可視化の最前線
rvirus0817
0
680
TechBull Membersの開発進捗どうですか!?
rvirus0817
0
2.1k
クラウド脆弱性の傾向とShisho Cloudの活用
rvirus0817
0
330
Other Decks in Programming
See All in Programming
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
phperだってパンチカードでコーディングしたい
o0h
PRO
0
270
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
3
4.4k
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
360
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
120
カツオ、ご期待ください
suneo3476
0
160
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
130
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.3k
Workers Cache を知る
syumai
0
350
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
550
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
How to make the Groovebox
asonas
2
2.5k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Designing for Timeless Needs
cassininazir
1
520
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
560
Transcript
2019/07/30 Ansible Night in Tokyo 2019.07 MacΛAnsibleͰ ߏཧͪ͠Ό͓ͬͨ Lancers,Inc @adachin0817/SRE
2019/07/30 Ansible Night in Tokyo 2019.07 ΞδΣϯμ ɾࣗݾհ ɾݸਓతͳ͓
ɾansible_MacΛ࡞ͬͨΘ͚ ɾߏ ɾ͍ํ ɾσϞ ɾ·ͱΊ
2019/07/30 Ansible Night in Tokyo 2019.07 ࣗݾհ
2019/07/30 Ansible Night in Tokyo 2019.07 ࣗݾհ - name:
Introduction me user: name: adachi.ryo(adachin) work: SRE detail: aws analytical base skill: ansible terraform embulk shell PHP go blog: blog.adachin.me oss: Vuls contributor Evangelist twitter:adachin0817 github:RVIRUS0817
2019/07/30 Ansible Night in Tokyo 2019.07 ݸਓతͳ͓
2019/07/30 Ansible Night in Tokyo 2019.07 ݸਓϒϩάΛDigitalOceanʹҠߦ https://blog.adachin.me/archives/10635
γϯΨϙʔϧϦʔδϣϯ ʹͳΓ·ͨ͠✌ ౦ژϦʔδϣϯ͔Β
2019/07/30 Ansible Night in Tokyo 2019.07 ϥϯαʔζΛࢧ͑Δٕज़
2019/07/30 Ansible Night in Tokyo 2019.07 ansible_MacΛ࡞ͬͨΘ͚
2019/07/30 Ansible Night in Tokyo 2019.07 Θ͍ͷλʔϛφϧڥͱΞϓϦέʔγϣϯΒ ɾnvim/dein.vim ɾzsh
ɾtmux/powerline ɾpeco/ghq (control + h(history),j(ssh)/repo ɾ伴Google DriveͳͲͰཧ
2019/07/30 Ansible Night in Tokyo 2019.07 օ͞Μ͜Μͳܦݧ͋Γ·ͤΜ͔ʁ ɾࠓ·ͰgistΛͬͯཧ(Θ͔Δ) ɾίϐϖͰରԠ(μα͍✌)
ɾԿΛมߋͨ͠ͷ͔ΕͯݸਓͷPCͱ૬ҧ͕ग़Δ(ന) ɾస৬ͨ͠ͱ͖(ങ͍ସ͑)ʹηοτΞοϓ͕μϧ͍ ɾ͍ͭೖΕͯΔΞϓϦέʔγϣϯͳΜ͚ͩͬ ɾࠪͳͲͰTime machine͕͑ͳ͍ ɾTime machineͰ͍͍͕ແବͳͷೖΕͨ͘ͳ͍
2019/07/30 Ansible Night in Tokyo 2019.07 ͦͯ͠AnsibleͰ࡞ͬͯ͠·ͬͨ ɾ2017 ɾAnsible
2.8.3 ɾશϦϙδτϦԽ ɾϗʔϜσΟϨΫτϦʹ͋ΔઃఆϑΝΠϧΛཧ ɾChromeͳͲͷΞϓϦέʔγϣϯཧ ɾhomebrewͷύοέʔδཧ ɾ؆୯ʹΧελϚΠζͰ͖ΔΑ͏ʹ https://blog.adachin.me/archives/5040 https://github.com/RVIRUS0817/ansible_Mac ansible_Mac
2019/07/30 Ansible Night in Tokyo 2019.07 ߏ
2019/07/30 Ansible Night in Tokyo 2019.07 ߏ ɾroles3ͭ ɾϩʔΧϧϗετͰ࣮ߦ
ɾgroup_vars/allʹͯύοέʔδ໊Λཧ
2019/07/30 Ansible Night in Tokyo 2019.07 ./scripts/first.sh ɾ·ͣHomebrewͱAnsibleΛΠϯετʔϧ
2019/07/30 Ansible Night in Tokyo 2019.07 roles/homebrew/tasks/main.yml
2019/07/30 Ansible Night in Tokyo 2019.07 roles/homebrew-cask/tasks/main.yml
2019/07/30 Ansible Night in Tokyo 2019.07 roles/homedirectory/tasks/main.yml
2019/07/30 Ansible Night in Tokyo 2019.07 group_vars/all group_vars/allΛݟΕԿ͕ೖ͍ͬͯΔ͔Θ͔Δʂ
2019/07/30 Ansible Night in Tokyo 2019.07 ͍ํ
2019/07/30 Ansible Night in Tokyo 2019.07 ४උ $ Fork!!!!!!!!!!!!!!!!!!!!!!!!!
$ cd ansible_Mac $ ./scripts/first.sh 1. run first.sh 2. add role/homedirectory/files 3. add group_vars/all 4. dry-run $ ansible-playbook -i hosts mac.yml -KD -C 5. run $ ansible-playbook -i hosts mac.yml -KD 6. reboot Mac →ॳΊ࣮ͯߦ͢Δ߹
2019/07/30 Ansible Night in Tokyo 2019.07 group_vars/all
2019/07/30 Ansible Night in Tokyo 2019.07 σϞΓ·;
2019/07/30 Ansible Night in Tokyo 2019.07 ·ͱΊ
2019/07/30 Ansible Night in Tokyo 2019.07 ·ͱΊ ɾγϯϓϧʹ࡞Εͨ ɾMacͷઃఆՄࢹԽͰ͖ͨ
ɾΤϯδχΞಉ࢜ͰಠࣗίϚϯυڞ༗Ͱ͖ΔΑ͏ʹ ɾॴʹͱΒΘΕͣgit pullɺansible࣮ߦ͢Δ͚ͩ ɾ࣮ߦ͢Δͷʹ͕͔͔࣌ؒͬͯ͠·͏ ɾͥͻStarΛʂʂʂʂ
2019/07/30 Ansible Night in Tokyo 2019.07 ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ