2020-11-05 21:52:43 +01:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
become: yes
|
|
|
|
tasks:
|
|
|
|
- name: delete /home/mg/dotfiles-repo
|
|
|
|
become: yes
|
2020-11-21 19:41:19 +01:00
|
|
|
ansible.builtin.file:
|
2020-11-05 21:52:43 +01:00
|
|
|
path: /home/mg/dotfiles-repo
|
|
|
|
state: absent
|
|
|
|
- name: delete /home/mg/.bash_aliases
|
|
|
|
become: yes
|
2020-11-21 19:41:19 +01:00
|
|
|
ansible.builtin.file:
|
2020-11-05 21:52:43 +01:00
|
|
|
path: /home/mg/.bash_aliases
|
|
|
|
state: absent
|
2021-04-01 21:51:22 +02:00
|
|
|
- name: delete /home/mg/.vimrc
|
|
|
|
become: yes
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: /home/mg/.vimrc
|
|
|
|
state: absent
|
2020-11-05 21:52:43 +01:00
|
|
|
- name: delete /home/mg/.tmux.conf
|
|
|
|
become: yes
|
2020-11-21 19:41:19 +01:00
|
|
|
ansible.builtin.file:
|
2020-11-05 21:52:43 +01:00
|
|
|
path: /home/mg/.tmux.conf
|
|
|
|
state: absent
|
|
|
|
- name: delete /home/mg/.gitconfig
|
|
|
|
become: yes
|
2020-11-21 19:41:19 +01:00
|
|
|
ansible.builtin.file:
|
2020-11-05 21:52:43 +01:00
|
|
|
path: /home/mg/.gitconfig
|
|
|
|
state: absent
|
2021-04-01 21:51:22 +02:00
|
|
|
- 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
|