Make sure we don't run the role on neovim configured with init.vim
This commit is contained in:
parent
08b2569f54
commit
2f7eb6306c
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
||||||
---
|
---
|
||||||
|
- name: Fail if still using init.vim
|
||||||
|
stat:
|
||||||
|
path: ~/.config/nvim/init.vim
|
||||||
|
register: init_vim
|
||||||
|
failed_when: init_vim.stat.exists
|
||||||
|
|
||||||
- name: Install (Archlinux)
|
- name: Install (Archlinux)
|
||||||
block:
|
block:
|
||||||
- name: Install packages (Archlinux)
|
- name: Install packages (Archlinux)
|
||||||
|
|
Loading…
Add table
Reference in a new issue