dotfiles/playbooks/roles/zsh/tasks/main.yml
Anthony Cicchetti 73528b3d62 Buncha stuff
2020-01-10 08:01:04 -05:00

49 lines
922 B
YAML

---
- name: Get antibody install script
get_url:
url: https://git.io/antibody
dest: /tmp/get_antibody.sh
mode: 0755
- name: Install antibody
shell: /tmp/get_antibody.sh -b ~/bin
args:
creates: ~/bin/antibody
- name: Symlink zsh_plugins.txt
file:
src: ~/.dotfiles/zsh/zsh_plugins.txt
dest: ~/.zsh_plugins.txt
state: link
- name: Symlink starship.toml
file:
src: ~/.dotfiles/zsh/starship.toml
dest: ~/.config/starship.toml
state: link
- name: Symlink zshrc
file:
src: ~/.dotfiles/zsh/zshrc
dest: ~/.zshrc
state: link
force: yes
- name: Symlink completions dir
file:
src: ~/.dotfiles/zsh/completions
dest: ~/.zshcompletions
state: link
force: yes
- name: Symlink .zsh.d
file:
src: ~/.dotfiles/zsh/funcs
dest: ~/.zsh.d
state: link
- name: copy contents of bin
synchronize:
src: ~/.dotfiles/bin/
dest: ~/bin