2019-10-19 14:31:54 +00:00
|
|
|
---
|
|
|
|
- name: Source local vimrc (redhat)
|
2024-02-18 11:23:28 +00:00
|
|
|
ansible.builtin.blockinfile:
|
2019-10-19 14:31:54 +00:00
|
|
|
dest: /etc/vimrc
|
2024-02-18 11:23:28 +00:00
|
|
|
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
2019-10-19 14:31:54 +00:00
|
|
|
block: |
|
|
|
|
if filereadable("/etc/vim/vimrc.local")
|
|
|
|
source /etc/vim/vimrc.local
|
|
|
|
endif
|