Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions .provision/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,7 @@
- role: cui
tags: cui

- name: gui
hosts: localhost
connection: local
gather_facts: yes
roles:
- role: gui
tags: gui

- name: appstore
hosts: localhost
connection: local
gather_facts: yes
roles:
- role: appstore
tags: appstore

- name: os
- name: macos
hosts: localhost
connection: local
gather_facts: yes
Expand All @@ -33,5 +17,4 @@
- name: "Restart Finder"
shell: "killall Finder"
roles:
- role: os
tags: os
- role: macos
2 changes: 0 additions & 2 deletions .provision/roles/appstore/tasks/main.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .provision/roles/gui/tasks/main.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
- name: Install mas packages
shell: "mas install {{ item.id }}"
mas:
id: "{{ item.id }}"
with_items:
- { name: BetterSnapTool, id: 417375580 }
- { name: Evernote, id: 406056744 }
Expand Down
6 changes: 6 additions & 0 deletions .provision/roles/macos/tasks/command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: Install mas which is package manager of Mac App Store
homebrew:
name: "{{ item.name }}"
with_items:
- { name: mas }
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
---
- name: Tap brew packages
homebrew_tap:
name: "homebrew/cask-fonts"
- name: Install font
homebrew_cask:
name: font-fira-code-nerd-font

- name: Install mas which is package manager of Mac App Store
homebrew:
name: "{{ item.name }}"
with_items:
- { name: mas }

- name: Install brew cask packages
homebrew_cask:
Expand All @@ -18,6 +10,7 @@
- { name: clipy }
- { name: docker }
- { name: drawio }
- { name: dynalist }
- { name: font-fira-code-nerd-font }
- { name: google-chrome }
- { name: typora }
- { name: dynalist }
8 changes: 8 additions & 0 deletions .provision/roles/macos/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
- import_tasks: appstore.yml
tags: appstore
- import_tasks: os.yml
tags: os
- import_tasks: command.yml
- import_tasks: gui.yml
tags: gui
File renamed without changes.