fix default vim config on debian systems

This commit is contained in:
Robert Kaussow 2018-11-18 23:58:12 +01:00
parent 301565018a
commit 9bd59445f0

View File

@ -21,7 +21,14 @@
group: root
mode: 0644
- name: Source local vimrc
- name: Fix default vim (debian)
lineinfile:
dest: /etc/ssh/sshd_config
regexp: '^\"\s*let\sg\:skip_defaults_vim.*$'
line: 'let g:skip_defaults_vim = 1'
when: ansible_os_family == "Debian"
- name: Source local vimrc (redhat)
blockinfile:
dest: /etc/vimrc
marker: "\" {mark} ANSIBLE MANAGED BLOCK"