From aa4bd32aaec7c712ec0732b8832a7a0d93bb61e3 Mon Sep 17 00:00:00 2001 From: Clumsy-Coder <19594044+Clumsy-Coder@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:34:06 -0700 Subject: [PATCH] chore(ansible:tasks): create `~/.config/zsh` directory ## what - create `~/.config/zsh` directory ## how ## why - the step for linking `zshrc` file to `~/.config/zsh/.zshrc` fails because `~/.config/zsh` directory doesn't exist ## where - ./tasks/zsh.yaml ## usage ## issue or pull request --- tasks/zsh.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/zsh.yaml b/tasks/zsh.yaml index 41589a6..ed7da8a 100644 --- a/tasks/zsh.yaml +++ b/tasks/zsh.yaml @@ -1,5 +1,13 @@ --- +- name: "git: create {{ ansible_env.XDG_CONFIG_HOME }}/zsh directory" + file: + path: "{{ ansible_env.XDG_CONFIG_HOME }}/zsh" + state: directory + tags: + - zsh + - terminal + # link zshrc file - name: "zsh: link zshrc to {{ ansible_env.ZSHRC_PATH }}" file: