- name: Remove user zsh config tags: [zsh] block: - name: Remove .zshrc file: state=absent path={{ home }}/.zshrc - name: Remove zsh zstyles config file: state=absent path={{ home }}/.zstyles - name: Remove .zshrc.d folder/link file: state=absent path={{ home }}/.zshrc.d - name: Remove zsh syntax highlighting file: state=absent path={{ home }}/.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 }}/.aliases - name: Remove .bat.conf file: state=absent path={{ home }}/.bat.conf - name: Remove .env file file: state=absent path={{ home }}/.env