homeserver/playbooks/on-off/remove_dotfiles_dir.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

---
- 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