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:
Kenneth Benzie 2022-12-10 22:44:50 +00:00
parent 5cba48f632
commit 6ff50854e0
3 changed files with 19 additions and 0 deletions

View File

@ -2,5 +2,8 @@
- import_playbook: UnixGUI.yaml
- hosts: localhost
roles:
- role: mas
- role: fonts
- role: magnet
- role: obsidian

View File

@ -0,0 +1,8 @@
---
- assert:
that: ansible_os_family == 'Darwin'
- name: install app store package
mas:
id: 441258766
state: latest

View File

@ -0,0 +1,8 @@
---
- assert:
that: ansible_os_family == 'Darwin'
- name: install homebrew package
homebrew:
name: mas
state: latest