templier-ansible/roles/vim/tasks/main.yml
Yohann D'ANELLO 57b83cb58e
Explicit permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-18 00:28:19 +01:00

19 lines
349 B
YAML

---
- 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'
owner: '{{ user.name }}'
group: '{{ user.name }}'
mode: 0644
become_user: '{{ user.name }}'