14 lines
520 B
YAML
14 lines
520 B
YAML
---
|
|
- name: Ensure general config dir exists
|
|
file:
|
|
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nvim"
|
|
state: directory
|
|
- name: Ensure .zshrc exists
|
|
file:
|
|
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nvim/init.vim"
|
|
state: touch
|
|
- name: Add nvim managed block
|
|
blockinfile:
|
|
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nvim/init.vim"
|
|
marker: "\" Marc's env managed block - {mark}"
|
|
block: "{{ lookup('ansible.builtin.file', 'files/extras.vim') }}"
|