Skip to content

Commit

Permalink
Merge pull request geerlingguy#28 from MikeSouza/master
Browse files Browse the repository at this point in the history
Add variables to skip the app preferences task and OSX config task
  • Loading branch information
geerlingguy authored Dec 30, 2016
2 parents 76de13d + be491d7 commit d1c8cc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
downloads: ~/.ansible-downloads/

configure_sudoers: yes
configure_prefs: yes
configure_osx: yes

dotfiles_repo: https://github.com/geerlingguy/dotfiles.git
dotfiles_repo_accept_hostkey: yes
Expand Down
2 changes: 2 additions & 0 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
tasks:
- include: tasks/ansible-setup.yml
- include: tasks/preferences.yml
when: configure_prefs

# TODO: Use sudo once .osx can be run via root with no user interaction.
- name: Run .osx dotfiles.
shell: ~/.osx --no-restart
changed_when: false
when: configure_osx

0 comments on commit d1c8cc6

Please sign in to comment.