---
- name: Install zplug
  command: curl -sL --proto-redir -all,https https://zplug.sh/installer | zsh

- name: Create local directories
  file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory

- name: Restore dotfiles with Mackup
  command: mackup restore

---
- name: Install zplug
  git: repo=https://github.com/zplug/zplug dest=~/zplug

- name: Create local directories
  file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory

- name: Restore dotfiles with Mackup
  command: mackup restore

Clone repo instead of running their installer
Clone repo instead of running their installer
