22 lines
426 B
YAML
22 lines
426 B
YAML
---
|
|
- name: Installing vim
|
|
ansible.builtin.package:
|
|
name: "{{ vim_package_name }}"
|
|
state: present
|
|
|
|
- name: Creating configuration directory
|
|
ansible.builtin.file:
|
|
state: directory
|
|
dest: /etc/vim
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
|
|
- name: Configure vim
|
|
ansible.builtin.template:
|
|
src: etc/vim/vimrc.local.j2
|
|
dest: /etc/vim/vimrc.local
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|