mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
Formatting fixes, and make sure everything works in --check mode.
This commit is contained in:
parent
04314cb755
commit
e2d8a2f9f6
4 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
*.vagrant
|
||||
.DS_Store
|
||||
*.retry
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
file:
|
||||
path: /etc/ansible
|
||||
state: directory
|
||||
sudo: yes
|
||||
become: yes
|
||||
|
||||
- name: Symlink /usr/local/etc/ansible to /etc/ansible.
|
||||
file:
|
||||
|
|
|
@ -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/*).
|
||||
|
|
Loading…
Reference in a new issue