feat: Create role

This commit is contained in:
pulsar authored and pulsar89.5 committed 2025-04-10 16:24:54 +02:00
1 parent 82119b412d
commit 66408f4cba
4 files changed
+47 -2

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
---
# tasks file for vim
- name: Uninstall nano
ansible.builtin.apt:
name: nano
state: absent
become: true
- name: Install packages
ansible.builtin.apt:
name:
- vim
- vim-airline
- vim-lastplace
become: true
- name: Deploy configuration
ansible.builtin.template:
src: vimrc.local.j2
dest: /etc/vim/vimrc.local
owner: root
group: root
mode: u=rw,g=r,o=r
become: true