dotfiles/playbooks/roles/macos/tasks/main.yml

46 lines
1.1 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,zsh
- name: Homebrew - install skim if no-rust-extras
homebrew:
update_homebrew: yes
name: skim
when:
- rust_extras == false
- include_tasks: neovim-nightly.yml
- include_tasks: emacs-plus.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