diff --git a/ansible/main.yml b/ansible/main.yml index 9632393..50d4d50 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -9,6 +9,7 @@ git: repo: https://github.com/kejadlen/dotfiles.git dest: ~/.dotfiles + ignore_errors: yes - name: update homebrew homebrew: update_homebrew=yes diff --git a/ansible/roles/dotfiles/tasks/main.yml b/ansible/roles/dotfiles/tasks/main.yml index 17727d0..c57b16b 100644 --- a/ansible/roles/dotfiles/tasks/main.yml +++ b/ansible/roles/dotfiles/tasks/main.yml @@ -1,3 +1,4 @@ +--- - name: create config directories file: path={{ item }} state=directory with_items: "{{ conf_dirs }}" diff --git a/ansible/vars/dotfiles.yml b/ansible/roles/dotfiles/vars/main.yml similarity index 100% rename from ansible/vars/dotfiles.yml rename to ansible/roles/dotfiles/vars/main.yml diff --git a/ansible/roles/osx/tasks/main.yml b/ansible/roles/osx/tasks/main.yml index a39450a..b165005 100644 --- a/ansible/roles/osx/tasks/main.yml +++ b/ansible/roles/osx/tasks/main.yml @@ -4,6 +4,7 @@ dest: "{{ item }}" rsync_opts: --ignore-existing with_items: "{{ app_prefs }}" + when: inventory_hostname != "localhost" - include: dock.yml