13 lines
330 B
YAML
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"
|