- name: Remove user zsh config tags: [zsh] block: - name: Remove .zshrc file: state=absent path=/home/{{ name }}/.zshrc - name: Remove zsh zstyles config file: state=absent path=/home/{{ name }}/.zstyles - name: Remove .zshrc.d folder/link file: state=absent path=/home/{{ name }}/.zshrc.d - name: Remove zsh syntax highlighting file: state=absent path=/home/{{ name }}/.zshrc.d/zsh-syntax-highlighting when: not zsh_opt_config - name: Remove zsh syntax highlighting (/opt/zsh) file: state=absent path=/opt/zsh/zsh-syntax-highlighting when: zsh_opt_config - name: Remove extra user config when: "'extra' in setup" tags: [extra] block: - name: Remove .aliases file: state=absent path=/home/{{ name }}/.aliases - name: Remove .bat.conf file: state=absent path=/home/{{ name }}/.bat.conf - name: Remove .env file file: state=absent path=/home/{{ name }}/.env