diff --git a/.gitignore b/.gitignore index 13752fb..b858696 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.vagrant .DS_Store +*.retry diff --git a/README.md b/README.md index 3bc85d6..b469f0d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,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 the command `$ ansible-galaxy install -r requirements.txt` inside this directory to install required Ansible roles. - 5. Run `ansible-playbook main.yml -i inventory -u [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username. + 5. Run `ansible-playbook main.yml -i inventory -u [username] -U [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username). Enter your account password when prompted. ## Included Applications / Configuration diff --git a/tasks/ansible-setup.yml b/tasks/ansible-setup.yml index 84c4e00..efa9508 100644 --- a/tasks/ansible-setup.yml +++ b/tasks/ansible-setup.yml @@ -8,7 +8,7 @@ file: path: /etc/ansible state: directory - sudo: yes + become: yes - name: Symlink /usr/local/etc/ansible to /etc/ansible. file: diff --git a/tasks/preferences.yml b/tasks/preferences.yml index c17afb2..fab18c2 100644 --- a/tasks/preferences.yml +++ b/tasks/preferences.yml @@ -4,6 +4,7 @@ shell: defaults read com.apple.terminal 'Default Window Settings' register: terminal_theme changed_when: false + always_run: yes - name: Ensure custom Terminal profile is added. shell: open files/terminal/JJG-Term.terminal @@ -26,7 +27,7 @@ dest: /etc/sudoers mode: 0440 validate: 'visudo -cf %s' - sudo: yes + become: yes when: configure_sudoers # TODO: Configure Sublime Text (see templates/sublime/*).