mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 03:43:06 +00:00
Updates to work with updated version of geerlingguy.homebrew role.
This commit is contained in:
parent
2e633c9d65
commit
1a8177a2b0
2 changed files with 1 additions and 11 deletions
11
main.yml
11
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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue