Add magnet & mas for macOS
The `mas` role installed the command-line tool of the same name to install Mac App Store package. The `magnet` role then uses `mas` to install the tiling window manager from the App Store.
This commit is contained in:
8
roles/magnet/tasks/main.yaml
Normal file
8
roles/magnet/tasks/main.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- assert:
|
||||
that: ansible_os_family == 'Darwin'
|
||||
|
||||
- name: install app store package
|
||||
mas:
|
||||
id: 441258766
|
||||
state: latest
|
||||
8
roles/mas/tasks/main.yaml
Normal file
8
roles/mas/tasks/main.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- assert:
|
||||
that: ansible_os_family == 'Darwin'
|
||||
|
||||
- name: install homebrew package
|
||||
homebrew:
|
||||
name: mas
|
||||
state: latest
|
||||
Reference in New Issue
Block a user