Remove ~/.emacs if it exists
This commit is contained in:
parent
4eb6c342c6
commit
f184cee395
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
||||||
vars:
|
vars:
|
||||||
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
||||||
register: emacs_binary
|
register: emacs_binary
|
||||||
|
- name: Remove ~/.emacs file
|
||||||
|
file:
|
||||||
|
path: "{{ ansible_env.HOME }}/.emacs"
|
||||||
|
state: absent
|
||||||
- name: Clone Emacs settings
|
- name: Clone Emacs settings
|
||||||
git:
|
git:
|
||||||
repo: https://code.acperkins.com/acp/emacs.d.git
|
repo: https://code.acperkins.com/acp/emacs.d.git
|
||||||
|
|
Loading…
Reference in a new issue