ansible-role--vim/tasks/vimrc.yml

17 lines
383 B
YAML
Raw Normal View History

2015-10-22 21:07:53 +00:00
- 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}}"