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.1k
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
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
890
Kubernetes祭り #2 OP/ED
bells17
0
110
AIに “答え“を書かせるのを やめてみた
___akari11
0
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
580
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.5k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Simple Storage Service(S3) is not simple
iwatsukayura
0
230
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
740
mrbgem 三角測量 開発
ogom
0
220
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5k
速習iPhone Duo対応
yuukiw00w
2
970
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
7k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Done Done
chrislema
187
17k
BBQ
matthewcrist
90
10k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
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 ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ