mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
Add variables to skip the preferences and OSX configuration tasks
This commit is contained in:
parent
4f3ae118dd
commit
00c62cfd29
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
2
main.yml
2
main.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue