polytech-ansible-2023/roles/vim/tasks/main.yml
Thomas Maurice 93bb0b0742
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
feat(actions): Adds actions & lint (#1)
Adds an action to perform some linting actions on ansible and the yaml files, both on push onto master and on pull requests

Reviewed-on: #1
2024-02-20 17:46:29 +00:00

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"