ansible-role--vim/tasks/vimrc.yml
2015-10-22 23:07:53 +02:00

16 lines
383 B
YAML

- lineinfile: >
dest=~/.vimrc
regexp="{{vimrc_boundary_begin_regexp}}"
line="{{vimrc_boundary_begin}}"
create=yes
become: true
become_user: "{{vim_user}}"
- lineinfile: >
dest=~/.vimrc
regexp="{{vimrc_boundary_end_regexp}}"
insertafter="{{vimrc_boundary_begin_regexp}}"
line="{{vimrc_boundary_end}}"
become: true
become_user: "{{vim_user}}"