Skip to content

Commit

Permalink
update role to use homebrew_cask
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Macauley committed Dec 16, 2016
1 parent 3fbd87c commit dcd6ae3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dcd6ae3

Please sign in to comment.