dotfiles/playbooks/roles/macos/tasks/main.yml
Anthony Cicchetti 0970a601af We back to skim
2020-10-19 10:17:13 -04:00

51 lines
1.2 KiB
YAML

---
- name: Homebrew Update
homebrew:
update_homebrew: yes
upgrade_all: yes
- name: Homebrew - install most packages
homebrew:
update_homebrew: yes
name: neovim,git,gnu-tar,zstd
- name: Homebrew - install skim if no-rust-extras
homebrew:
update_homebrew: yes
name: skim
when:
- rust_extras == false
- name: Homebrew - Install zsh
homebrew:
update_homebrew: yes
name: zsh
install_options: with-gdbm with-pcre with-unicode9
- include_tasks: neovim-nightly.yml
- name: Homebrew - Install Hammerspoon
homebrew_cask:
name: Hammerspoon
- name: Hammerspoon - Create Directory
file:
path: ~/.hammerspoon/Spoons
state: directory
- name: Hammerspoon - Symlink init.lua
file:
src: ~/.dotfiles/hammerspoon/init.lua
dest: ~/.hammerspoon/init.lua
state: link
- name: Hammerspoon - Get SpoonInstall
get_url:
url: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpoonInstall.spoon.zip
dest: /tmp/SpoonInstall.spoon.zip
- name: Hammerspoon - Unzip SpoonInstall
unarchive:
src: /tmp/SpoonInstall.spoon.zip
dest: ~/.hammerspoon/Spoons/
creates: ~/.hammerspoon/Spoons/SpoonInstall.spoon