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:
parent
5cba48f632
commit
6ff50854e0
@ -2,5 +2,8 @@
|
||||
- import_playbook: UnixGUI.yaml
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: mas
|
||||
|
||||
- role: fonts
|
||||
- role: magnet
|
||||
- role: obsidian
|
||||
|
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
|
Loading…
x
Reference in New Issue
Block a user