2016-09-28 18:09:52 +00:00
|
|
|
# macOS Provisioning
|
2015-11-16 13:08:40 +00:00
|
|
|
|
2019-04-10 09:44:34 +00:00
|
|
|
## Prerequisites
|
2015-11-16 17:07:30 +00:00
|
|
|
|
|
|
|
* [Ansible](http://docs.ansible.com/ansible/intro_installation.html)
|
|
|
|
* [Git](http://git-scm.com/downloads)
|
|
|
|
|
2019-04-10 09:44:34 +00:00
|
|
|
## Usage
|
2015-11-16 17:07:30 +00:00
|
|
|
|
2019-04-11 06:29:45 +00:00
|
|
|
Install the dependencies:
|
|
|
|
|
2016-12-20 13:12:22 +00:00
|
|
|
```
|
|
|
|
ansible-galaxy install -r requirements.yml
|
|
|
|
```
|
|
|
|
|
2019-04-11 06:29:45 +00:00
|
|
|
Run all the tasks:
|
|
|
|
|
2015-11-16 13:08:40 +00:00
|
|
|
```bash
|
2019-04-11 06:29:45 +00:00
|
|
|
ansible-playbook main.yml
|
2015-11-16 13:08:40 +00:00
|
|
|
```
|
|
|
|
|
2019-04-11 06:29:45 +00:00
|
|
|
Run tasks with a specific tag:
|
2015-11-16 13:08:40 +00:00
|
|
|
|
|
|
|
```bash
|
2019-04-11 06:29:45 +00:00
|
|
|
ansible-playbook main.yml -t <tag>
|
2015-11-16 13:08:40 +00:00
|
|
|
```
|