mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-25 05:10:19 +00:00
After merging #107, can drop -i inventory.
This commit is contained in:
parent
ae521350b9
commit
de1aec4a49
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ This is a work in progress, and is mostly a means for me to document my current
|
||||||
|
|
||||||
3. Clone this repository to your local drive.
|
3. Clone this repository to your local drive.
|
||||||
4. Run `$ ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
|
4. Run `$ ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
|
||||||
5. Run `ansible-playbook main.yml -i inventory --ask-become-pass` inside this directory. Enter your account password when prompted.
|
5. Run `ansible-playbook main.yml --ask-become-pass` inside this directory. Enter your account password when prompted.
|
||||||
|
|
||||||
> Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run `brew doctor` to see if this is the case.
|
> Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run `brew doctor` to see if this is the case.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ If you need to supply an SSH password (if you don't use SSH keys), make sure to
|
||||||
|
|
||||||
You can filter which part of the provisioning process to run by specifying a set of tags using `ansible-playbook`'s `--tags` flag. The tags available are `dotfiles`, `homebrew`, `mas`, `extra-packages` and `osx`.
|
You can filter which part of the provisioning process to run by specifying a set of tags using `ansible-playbook`'s `--tags` flag. The tags available are `dotfiles`, `homebrew`, `mas`, `extra-packages` and `osx`.
|
||||||
|
|
||||||
ansible-playbook main.yml -i inventory -K --tags "dotfiles,homebrew"
|
ansible-playbook main.yml -K --tags "dotfiles,homebrew"
|
||||||
|
|
||||||
## Overriding Defaults
|
## Overriding Defaults
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue