Pulizia generale dei ruoli: le installazioni systemwide sono nel deploy di ansible_mgmt.

This commit is contained in:
Emiliano Vavassori 2024-12-26 00:11:15 +01:00
parent 24908aa484
commit 353f316c1e
71 changed files with 5 additions and 885 deletions

View file

@ -0,0 +1,14 @@
---
# Configuring vim
- name: Linking main file
ansible.builtin.file:
src: "{{ dotfdir }}/vimrc"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vimrc"
state: link
- name: Linking main folder
ansible.builtin.file:
src: "{{ dotfdir }}/vim"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim"
state: link

View file

@ -0,0 +1,14 @@
---
# Configuring vim-plug
- name: Installation
ansible.builtin.import_tasks: installation.yml
tags:
- vim-plug
- vim-plug-install
- name: Configuration
ansible.builtin.command:
cmd: vim +PlugInstall +qall
become: true
become_user: "{{ additional_user }}"

View file

@ -0,0 +1,7 @@
---
- name: (alp) installing vim
community.general.apk:
name: vim
state: present
update_cache: true
become: true

View file

@ -0,0 +1,7 @@
---
- name: (arch) installing vim
community.general.pacman:
name: vim
state: present
update_cache: true
become: true

View file

@ -0,0 +1,7 @@
---
- name: (deb) installing vim
ansible.builtin.apt:
name: vim
state: present
update_cache: true
become: true

View file

@ -0,0 +1,7 @@
---
- name: (rHa) installing vim
ansible.builtin.yum:
name: vim
state: present
update_cache: true
become: true

View file

@ -0,0 +1,7 @@
---
- name: (void) installing Vim
community.general.xbps:
name: vim
state: present
update_cache: true
become: true

View file

@ -0,0 +1,18 @@
---
# Vim
- name: Installation
ansible.builtin.package:
name: vim
state: present
update_cache: true
become: true
tags:
- vim
- vim-install
- name: Configuration
ansible.builtin.import_tasks: configuration.yml
tags:
- vim
- vim-config