polytech-ansible-2023/roles/vim/tasks/main.yml

13 lines
276 B
YAML

---
- name: Install vim
ansible.builtin.apt:
name: vim-nox
state: present
# use the `copy` module to copy files to the remote host
- name: Configure vim
ansible.builtin.copy:
src: vimrc
dest: /etc/vim/vimrc
owner: root
group: root
mode: "0650"