From 489ee9b42076a282508d2334bbae5c1851e31c61 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sun, 4 Jun 2017 22:29:43 -0500 Subject: [PATCH] Fixes #42: Add configure_dotfiles variable so you can disable dotfiles management. --- README.md | 2 +- default.config.yml | 1 + main.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3016dc8..f4cd154 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Packages (installed with Homebrew): - wget - 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. diff --git a/default.config.yml b/default.config.yml index af145cb..a0f647c 100644 --- a/default.config.yml +++ b/default.config.yml @@ -1,6 +1,7 @@ --- downloads: ~/.ansible-downloads/ +configure_dotfiles: yes configure_sudoers: yes configure_terminal: yes configure_osx: yes diff --git a/main.yml b/main.yml index 1998870..a53c13e 100644 --- a/main.yml +++ b/main.yml @@ -15,6 +15,7 @@ - role: geerlingguy.homebrew tags: ['homebrew'] - role: geerlingguy.dotfiles + when: configure_dotfiles tags: ['dotfiles'] - role: geerlingguy.mas when: mas_installed_apps