Updated instructions for ansible-playbook command.

This commit is contained in:
Jeff Geerling 2016-09-23 19:58:04 -05:00
parent bc33b5a811
commit eb2f9692fc

View file

@ -18,7 +18,7 @@ This is a work in progress, and is mostly a means for me to document my current
2. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
3. Clone this repository to your local drive.
4. Run `$ ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
5. Run `ansible-playbook main.yml -i inventory -u [username] --ask-sudo-pass` inside this directory (substitute `[username]` for your macOS account username). Enter your account password when prompted.
5. Run `ansible-playbook main.yml -i inventory -u [username] -K` inside this directory (substitute `[username]` for your macOS account username). 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.