This repository has been archived on 2021-09-08. You can view files and clone it, but cannot push or open issues/pull-requests.
localdev-playbooks/chezmoi.yml

13 lines
330 B
YAML

---
- name: create ~/.local/bin
file:
state: directory
path: "{{ ansible_env.HOME }}/.local/bin"
mode: "0750"
- name: install chezmoi
shell: sh -c "$(curl -fsLS git.io/chezmoi)" && mv ~/bin/chezmoi ~/.local/bin/
args:
chdir: "{{ ansible_env.HOME }}"
creates: "{{ ansible_env.HOME }}/.local/bin/chezmoi"