Robert Kaussow
3be129d5d7
All checks were successful
continuous-integration/drone/push Build is passing
25 lines
490 B
YAML
25 lines
490 B
YAML
---
|
|
- block:
|
|
- name: Installing vim
|
|
package:
|
|
name: "{{ vim_package_name }}"
|
|
state: present
|
|
|
|
- name: Creating configuration directory
|
|
file:
|
|
state: directory
|
|
dest: /etc/vim
|
|
owner: root
|
|
group: root
|
|
mode: 0755
|
|
|
|
- name: Configure vim
|
|
template:
|
|
src: etc/vim/vimrc.local.j2
|
|
dest: /etc/vim/vimrc.local
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
become: True
|
|
become_user: root
|