An open API service indexing awesome lists of open source software.

https://github.com/koji/ansible-playbooks

ansible for local setup Mac
https://github.com/koji/ansible-playbooks

ansible macos

Last synced: 2 months ago
JSON representation

ansible for local setup Mac

Awesome Lists containing this project

README

          

# ansible playbooks

## requirements
To use ansible and playbook for mac, the followings must be intalled on Mac.
- homebrew
- ansible
- mas-cli

```zsh
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install ansible
$ brew install mas
```

### how to check app id with mas
For installing Apps via App Store, we will need to know appId instead of App name.
```zsh
$ mas search Xcode
497799835 Xcode (13.2.1)
1388020431 DevCleaner for Xcode (2.3.1)
1179007212 Code School for Xcode Free -Learn How to Make Apps (1.1.3)
431748264 Pluralsight: Learn Tech Skills (3.24)
1083165894 Course for Xcode 7 Lite (1.0)
```

## how to use playbook
```zsh
$ git clone this repo
$ cd ansible
$ cd local

# if you update any yml files, need to check syntax with the following command
# if you get any errors, you will need to fix them.
$ ansible-playbook playbook.yml --syntax-check

# run ansible-playbook
$ ansible-playbook playbook.yml -K
```