fix default vim config on debian systems
This commit is contained in:
parent
301565018a
commit
9bd59445f0
@ -21,7 +21,14 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0644
|
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:
|
blockinfile:
|
||||||
dest: /etc/vimrc
|
dest: /etc/vimrc
|
||||||
marker: "\" {mark} ANSIBLE MANAGED BLOCK"
|
marker: "\" {mark} ANSIBLE MANAGED BLOCK"
|
||||||
|
Loading…
Reference in New Issue
Block a user