diff --git a/default.config.yml b/default.config.yml index 816c56f..32a2d97 100644 --- a/default.config.yml +++ b/default.config.yml @@ -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 diff --git a/main.yml b/main.yml index a3107ae..5d42ddf 100644 --- a/main.yml +++ b/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