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