18 lines
415 B
YAML
18 lines
415 B
YAML
|
|
- lineinfile: >
|
|
dest=~/.vimrc
|
|
regexp="{{vimrc_boundary_begin_regexp}}"
|
|
line="{{vimrc_boundary_begin}}"
|
|
create=yes
|
|
become: true
|
|
become_user: "{{item}}"
|
|
with_items: users
|
|
|
|
- lineinfile: >
|
|
dest=~/.vimrc
|
|
regexp="{{vimrc_boundary_end_regexp}}"
|
|
insertafter="{{vimrc_boundary_begin_regexp}}"
|
|
line="{{vimrc_boundary_end}}"
|
|
become: true
|
|
become_user: "{{item}}"
|
|
with_items: users
|