2016-09-28 18:09:52 +00:00
|
|
|
|
# macOS Provisioning
|
2015-11-16 13:08:40 +00:00
|
|
|
|
|
2015-11-16 17:07:30 +00:00
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
|
|
* [Ansible](http://docs.ansible.com/ansible/intro_installation.html)
|
|
|
|
|
* [Git](http://git-scm.com/downloads)
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
2016-12-20 13:12:22 +00:00
|
|
|
|
```
|
|
|
|
|
ansible-galaxy install -r requirements.yml
|
|
|
|
|
```
|
|
|
|
|
|
2015-11-16 13:08:40 +00:00
|
|
|
|
```bash
|
2016-09-28 18:09:07 +00:00
|
|
|
|
$ ansible-playbook main.yml -i inventory
|
2015-11-16 13:08:40 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Run everything.
|
|
|
|
|
|
|
|
|
|
```bash
|
2016-09-28 18:09:07 +00:00
|
|
|
|
$ ansible-playbook main.yml -i inventory -t <tag>
|
2015-11-16 13:08:40 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Run a specific tag.
|