Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MacをAnsibleで 構成管理しちゃったお話
Search
adachi.ryo
July 30, 2019
Programming
2
3.3k
MacをAnsibleで 構成管理しちゃったお話
https://ansible-users.connpass.com/event/135965/
adachi.ryo
July 30, 2019
Tweet
Share
More Decks by adachi.ryo
See All by adachi.ryo
Findy Team+のSOC2取得までの道のり
rvirus0817
0
1.6k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
2.1k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
1
4.6k
Amazon Security Lakeを活用したセキュリティログの集約とAIによる可視化の最前線
rvirus0817
0
240
TechBull Membersの開発進捗どうですか!?
rvirus0817
0
1.6k
クラウド脆弱性の傾向とShisho Cloudの活用
rvirus0817
0
250
TechBullエンジニアコミュニティの取り組みについて
rvirus0817
0
1.2k
横断SREの立ち上げと、AWSセキュリティへの取り組みの軌跡
rvirus0817
3
14k
ゼロから創る横断SREチーム ~挑戦と進化~
rvirus0817
3
6.9k
Other Decks in Programming
See All in Programming
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
130
Deno Tunnel を使ってみた話
kamekyame
0
250
Developing static sites with Ruby
okuramasafumi
0
330
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
愛される翻訳の秘訣
kishikawakatsumi
3
350
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
280
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
120
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
590
Go コードベースの構成と AI コンテキスト定義
andpad
0
140
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
140
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
115
94k
Making Projects Easy
brettharned
120
6.5k
We Have a Design System, Now What?
morganepeng
54
7.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
31
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
190
The Curious Case for Waylosing
cassininazir
0
190
Mobile First: as difficult as doing things right
swwweet
225
10k
Building the Perfect Custom Keyboard
takai
1
660
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
400
How Software Deployment tools have changed in the past 20 years
geshan
0
30k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
300
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 ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ