fix(shell): prioritize creation of $HOME/.local

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2022-03-13 02:11:59 +01:00
parent 3f8215fcc0
commit 2fdc93bd5e
No known key found for this signature in database
GPG key ID: 8535F3BCF69B3D69

View file

@ -1,4 +1,12 @@
---
- name: Create directories in `~/.local`
file:
path: "{{ item }}"
state: directory
loop:
- ~/.local/bin
- ~/.local/share
- name: Check for oh-my-zsh
stat:
path: ~/.oh-my-zsh
@ -31,14 +39,6 @@
src: templates/starship.toml.j2
dest: ~/.config/starship.toml
- name: Create directories in `~/.local`
file:
path: "{{ item }}"
state: directory
loop:
- ~/.local/bin
- ~/.local/share
- name: Install script for toolbox name retrieval
template:
src: templates/scripts/toolbox_name.sh