From 1a8177a2b0b56d5385ab4ad0d608fdce35047174 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 30 Dec 2014 16:14:42 -0600 Subject: [PATCH] Updates to work with updated version of geerlingguy.homebrew role. --- main.yml | 11 ----------- tasks/dotfiles.yml | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/main.yml b/main.yml index 3b5a359..af9fc52 100644 --- a/main.yml +++ b/main.yml @@ -17,14 +17,3 @@ - include: tasks/dotfiles.yml - include: tasks/preferences.yml - - - name: Get list of apps installed with cask. - command: brew cask list - register: homebrew_cask_list - changed_when: false - - - name: Install apps via `brew cask`. - command: > - brew cask install {{ item }} --appdir={{ homebrew_cask_appdir }} - with_items: homebrew_cask_apps - when: "'{{ item }}' not in homebrew_cask_list.stdout" diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 28c1b80..de6bbe5 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -10,6 +10,7 @@ shell: ls -F ~/.bash_profile register: is_link failed_when: false + always_run: yes changed_when: false - name: Remove current .bash_profile file if necessary.