Merge pull request #28 from MikeSouza/master
Add variables to skip the app preferences task and OSX config task
This commit is contained in:
commit
d1c8cc6aeb
@ -2,6 +2,8 @@
|
|||||||
downloads: ~/.ansible-downloads/
|
downloads: ~/.ansible-downloads/
|
||||||
|
|
||||||
configure_sudoers: yes
|
configure_sudoers: yes
|
||||||
|
configure_prefs: yes
|
||||||
|
configure_osx: yes
|
||||||
|
|
||||||
dotfiles_repo: https://github.com/geerlingguy/dotfiles.git
|
dotfiles_repo: https://github.com/geerlingguy/dotfiles.git
|
||||||
dotfiles_repo_accept_hostkey: yes
|
dotfiles_repo_accept_hostkey: yes
|
||||||
|
|||||||
2
main.yml
2
main.yml
@ -19,8 +19,10 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- include: tasks/ansible-setup.yml
|
- include: tasks/ansible-setup.yml
|
||||||
- include: tasks/preferences.yml
|
- include: tasks/preferences.yml
|
||||||
|
when: configure_prefs
|
||||||
|
|
||||||
# TODO: Use sudo once .osx can be run via root with no user interaction.
|
# TODO: Use sudo once .osx can be run via root with no user interaction.
|
||||||
- name: Run .osx dotfiles.
|
- name: Run .osx dotfiles.
|
||||||
shell: ~/.osx --no-restart
|
shell: ~/.osx --no-restart
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
when: configure_osx
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user