Updates to work with updated version of geerlingguy.homebrew role.
This commit is contained in:
parent
2e633c9d65
commit
1a8177a2b0
11
main.yml
11
main.yml
@ -17,14 +17,3 @@
|
|||||||
|
|
||||||
- include: tasks/dotfiles.yml
|
- include: tasks/dotfiles.yml
|
||||||
- include: tasks/preferences.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"
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
shell: ls -F ~/.bash_profile
|
shell: ls -F ~/.bash_profile
|
||||||
register: is_link
|
register: is_link
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
always_run: yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Remove current .bash_profile file if necessary.
|
- name: Remove current .bash_profile file if necessary.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user