ansible/roles/shell/tasks/revert.yml
Sivert V. Sæther fc8fc4e9c8 Fixes and updates
Added home variable for the home folder, defaults to username.
Edited neofetch config so it runs faster.
Added mukti and ctrl-c.club variables.
2022-03-24 15:18:47 +00:00

28 lines
882 B
YAML

- 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