homeserver/playbooks/on-off/remove_dotfiles_dir.yml
mg 296f5bb646 dotfiles bereinigt (#58)
dotfile vars von pve entfernt

remove playbook angepasst

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#58
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-04-01 21:51:22 +02:00

54 lines
1.4 KiB
YAML

---
- hosts: all
become: yes
tasks:
- name: delete /home/mg/dotfiles-repo
become: yes
ansible.builtin.file:
path: /home/mg/dotfiles-repo
state: absent
- name: delete /home/mg/.bash_aliases
become: yes
ansible.builtin.file:
path: /home/mg/.bash_aliases
state: absent
- name: delete /home/mg/.vimrc
become: yes
ansible.builtin.file:
path: /home/mg/.vimrc
state: absent
- name: delete /home/mg/.tmux.conf
become: yes
ansible.builtin.file:
path: /home/mg/.tmux.conf
state: absent
- name: delete /home/mg/.gitconfig
become: yes
ansible.builtin.file:
path: /home/mg/.gitconfig
state: absent
- name: delete /root/dotfiles-repo
become: yes
ansible.builtin.file:
path: /root/dotfiles-repo
state: absent
- name: delete /root/.bash_aliases
become: yes
ansible.builtin.file:
path: /root/.bash_aliases
state: absent
- name: delete /root/.tmux.conf
become: yes
ansible.builtin.file:
path: /root/.tmux.conf
state: absent
- name: delete /root/.gitconfig
become: yes
ansible.builtin.file:
path: /root/.gitconfig
state: absent
- name: delete /root/.vimrc
become: yes
ansible.builtin.file:
path: /root/.vimrc
state: absent