You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
895 B
35 lines
895 B
- name: install formulae
|
|
homebrew:
|
|
name: "{{ item.name }}"
|
|
install_options: "{{ item.install_options | default(omit) }}"
|
|
state: present
|
|
with_items: "{{ formulae }}"
|
|
|
|
- name: link homebrew apps
|
|
command: /usr/local/bin/brew linkapps
|
|
|
|
- name: create ~/Applications
|
|
file: path={{ ansible_env.HOME }}/Applications state=directory
|
|
|
|
# This is necessary since we want to enable sudo when setting up Homebrew-Cask.
|
|
- name: authenticate sudo
|
|
ping:
|
|
become: yes
|
|
|
|
- name: setup homebrew/cask
|
|
command: /usr/local/bin/brew cask
|
|
|
|
- name: install casks
|
|
homebrew_cask: name={{ item }} state=installed
|
|
with_items: "{{ casks }}"
|
|
|
|
- name: tap caskroom/fonts
|
|
homebrew_tap: tap=caskroom/fonts state=present
|
|
|
|
- name: install fonts
|
|
homebrew_cask: name=font-{{ item }} state=installed
|
|
with_items: "{{ fonts }}"
|
|
|
|
- name: tap personal homebrew repo
|
|
homebrew_tap: tap=kejadlen/personal
|