xoxys.vim/tasks/configure_redhat.yml

12 lines
266 B
YAML
Raw Normal View History

2019-10-19 14:31:54 +00:00
---
- name: Source local vimrc (redhat)
blockinfile:
dest: /etc/vimrc
marker: "\" {mark} ANSIBLE MANAGED BLOCK"
block: |
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
become: True
become_user: root