2016-04-12 22:01:57 +00:00
|
|
|
- template: >
|
2015-12-27 17:48:53 +00:00
|
|
|
src=templates/vimrc.j2
|
|
|
|
dest=~/.vimrc
|
2016-04-12 22:01:57 +00:00
|
|
|
owner="{{item}}"
|
|
|
|
group="{{item}}"
|
2015-12-27 17:48:53 +00:00
|
|
|
mode=0644
|
2015-10-22 21:07:53 +00:00
|
|
|
become: true
|
2015-11-08 18:18:17 +00:00
|
|
|
become_user: "{{item}}"
|
2016-04-12 22:01:57 +00:00
|
|
|
with_items: "{{vimrc_users}}"
|
2015-10-22 21:07:53 +00:00
|
|
|
|
2015-12-27 17:48:53 +00:00
|
|
|
# - lineinfile: >
|
|
|
|
# dest=~/.vimrc
|
|
|
|
# regexp="{{vimrc_boundary_begin_regexp}}"
|
|
|
|
# line="{{vimrc_boundary_begin}}"
|
|
|
|
# create=yes
|
|
|
|
# become: true
|
|
|
|
# become_user: "{{item}}"
|
|
|
|
# with_items: vimrc_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: vimrc_users
|
|
|
|
#
|