templier-ansible/roles/vim/tasks/main.yml

17 lines
275 B
YAML

---
- name: Queries package manager for vim installation
package:
name:
- vim
register: pkg_result
retries: 3
until: pkg_result is succeeded
become: yes
when: user.root
- name: Deploying config files
template:
src: 'vimrc.j2'
dest: '.vimrc'