Sivert V. Sæther
a70d58f3f7
Big rework! Control stuffs with variables! We still should do some movei'n around of roles before extending features.
28 lines
924 B
YAML
28 lines
924 B
YAML
- 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
|