2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Queries package manager for vim installation
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- vim
|
|
|
|
register: pkg_result
|
|
|
|
retries: 3
|
|
|
|
until: pkg_result is succeeded
|
|
|
|
|
|
|
|
- name: Deploying config files
|
|
|
|
template:
|
|
|
|
src: 'vimrc.j2'
|
|
|
|
dest: '.vimrc'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0644
|
|
|
|
become_user: '{{ user.name }}'
|