From dcd6ae3b8e1851db0669217b33f23bd6f7392c4a Mon Sep 17 00:00:00 2001 From: Brian Macauley Date: Fri, 16 Dec 2016 00:51:16 +0000 Subject: [PATCH] update role to use homebrew_cask --- tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 946e425..e99c1a8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -97,8 +97,12 @@ # when: "'{{ item }}' not in homebrew_cask_list.stdout" -- name: Install configured cask applications using homebrew_cask (requires 2.2) - homebrew_cask: name = {{ item }} state = present install_options = 'appdir={{ homebrew_cask_appdir }}' +# (requires 2.2) +- name: Install configured cask applications using homebrew_cask + homebrew_cask: + name: "{{ item }}" + state: present + install_options: 'appdir={{ homebrew_cask_appdir }}' with_items: "{{ homebrew_cask_apps }}" - name: Check for Brewfile.