From bcc4748d97e81a9eff9d7e2c62507f8ab6db872b Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 22:51:00 +0100 Subject: [PATCH] Semplificazione installazione vim, semplificazione ruolo dotfiles e aggiunta playbook terminals. --- roles/dotfiles/meta/main.yml | 3 --- roles/vim/tasks/main.yml | 11 +++++------ terminals.yml | 5 +++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 terminals.yml diff --git a/roles/dotfiles/meta/main.yml b/roles/dotfiles/meta/main.yml index de48476..874aef6 100644 --- a/roles/dotfiles/meta/main.yml +++ b/roles/dotfiles/meta/main.yml @@ -5,9 +5,6 @@ dependencies: - pip - rsync - rclone - - kitty - - alacritty - - nix - zsh - antidote - tmux diff --git a/roles/vim/tasks/main.yml b/roles/vim/tasks/main.yml index 0b704d6..f022e7f 100644 --- a/roles/vim/tasks/main.yml +++ b/roles/vim/tasks/main.yml @@ -2,12 +2,11 @@ # Vim - name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - vim - - vim-install + ansible.builtin.package: + name: vim + state: present + update_cache: true + become: true tags: - vim - vim-install diff --git a/terminals.yml b/terminals.yml new file mode 100644 index 0000000..257410f --- /dev/null +++ b/terminals.yml @@ -0,0 +1,5 @@ +--- +- hosts: all + roles: + - alacritty + - kitty