From 2fdc93bd5eaa882f8cb96c4cc0a70a200d2c69ce Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sun, 13 Mar 2022 02:11:59 +0100 Subject: [PATCH] fix(shell): prioritize creation of $HOME/.local Signed-off-by: Matej Focko --- playbooks/roles/shell/tasks/zsh.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/playbooks/roles/shell/tasks/zsh.yml b/playbooks/roles/shell/tasks/zsh.yml index a11c6b9..9c96c95 100644 --- a/playbooks/roles/shell/tasks/zsh.yml +++ b/playbooks/roles/shell/tasks/zsh.yml @@ -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