Fixes #42: Add configure_dotfiles variable so you can disable dotfiles management.

This commit is contained in:
Jeff Geerling 2017-06-04 22:29:43 -05:00
parent ddb070f2d4
commit 489ee9b420
3 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,7 @@ Packages (installed with Homebrew):
- wget - wget
- wrk - wrk
My [dotfiles](https://github.com/geerlingguy/dotfiles) are also installed into the current user's home directory, including the `.osx` dotfile for configuring many aspects of macOS for better performance and ease of use. My [dotfiles](https://github.com/geerlingguy/dotfiles) are also installed into the current user's home directory, including the `.osx` dotfile for configuring many aspects of macOS for better performance and ease of use. You can disable dotfiles management by setting `configure_dotfiles: no` in your configuration.
Finally, there are a few other preferences and settings added on for various apps and services. Finally, there are a few other preferences and settings added on for various apps and services.

View File

@ -1,6 +1,7 @@
--- ---
downloads: ~/.ansible-downloads/ downloads: ~/.ansible-downloads/
configure_dotfiles: yes
configure_sudoers: yes configure_sudoers: yes
configure_terminal: yes configure_terminal: yes
configure_osx: yes configure_osx: yes

View File

@ -15,6 +15,7 @@
- role: geerlingguy.homebrew - role: geerlingguy.homebrew
tags: ['homebrew'] tags: ['homebrew']
- role: geerlingguy.dotfiles - role: geerlingguy.dotfiles
when: configure_dotfiles
tags: ['dotfiles'] tags: ['dotfiles']
- role: geerlingguy.mas - role: geerlingguy.mas
when: mas_installed_apps when: mas_installed_apps