From 242211477695eaf5077b145feed431ab14526332 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 31 May 2021 11:04:31 -0500 Subject: [PATCH] Make first-time setup instructions slightly more succint. And correct. --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4b317d7..3458f7e 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,13 @@ This playbook installs and configures most of the software I use on my Mac for w 1. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer). 2. [Install Ansible](https://docs.ansible.com/ansible/latest/installation_guide/index.html): - 1. Add the following to your `~/.zshrc` file (create one if you don't have one): + 1. Run the following command to add Python 3 to your $PATH: `export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH"` + 2. Install Ansible: `pip3 install ansible` + 3. Install the command line tools when prompted (this may take a few minutes). - ``` - export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH" - ``` - - 2. Source the new profile: `source ~/.zshrc` - 3. Install Ansible: `pip3 install ansible` - - 3. Clone this repository to your local drive. + 3. Clone or download 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 --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 macOS account password when prompted for the 'BECOME' password. > 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.