From 6fedffb882222801bd87e90bdf04a413b2365455 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 22:28:41 +0100 Subject: [PATCH] Semplificazione installazione tmux --- roles/tmux/tasks/install/alpine.yml | 7 ------- roles/tmux/tasks/install/archlinux.yml | 7 ------- roles/tmux/tasks/install/debian.yml | 7 ------- roles/tmux/tasks/install/redhat.yml | 7 ------- roles/tmux/tasks/install/void.yml | 7 ------- roles/tmux/tasks/main.yml | 11 +++++------ 6 files changed, 5 insertions(+), 41 deletions(-) delete mode 100644 roles/tmux/tasks/install/alpine.yml delete mode 100644 roles/tmux/tasks/install/archlinux.yml delete mode 100644 roles/tmux/tasks/install/debian.yml delete mode 100644 roles/tmux/tasks/install/redhat.yml delete mode 100644 roles/tmux/tasks/install/void.yml diff --git a/roles/tmux/tasks/install/alpine.yml b/roles/tmux/tasks/install/alpine.yml deleted file mode 100644 index 0166d7b..0000000 --- a/roles/tmux/tasks/install/alpine.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (alp) installing tmux - community.general.apk: - name: tmux - state: present - update_cache: true - become: true diff --git a/roles/tmux/tasks/install/archlinux.yml b/roles/tmux/tasks/install/archlinux.yml deleted file mode 100644 index 548d6dd..0000000 --- a/roles/tmux/tasks/install/archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (arch) installing tmux - community.general.pacman: - name: tmux - state: present - update_cache: true - become: true diff --git a/roles/tmux/tasks/install/debian.yml b/roles/tmux/tasks/install/debian.yml deleted file mode 100644 index 70c7a5b..0000000 --- a/roles/tmux/tasks/install/debian.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (deb) installing tmux - ansible.builtin.apt: - name: tmux - state: present - update_cache: true - become: true diff --git a/roles/tmux/tasks/install/redhat.yml b/roles/tmux/tasks/install/redhat.yml deleted file mode 100644 index c00d11f..0000000 --- a/roles/tmux/tasks/install/redhat.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (rHa) installing tmux - ansible.builtin.yum: - name: tmux - state: present - update_cache: true - become: true diff --git a/roles/tmux/tasks/install/void.yml b/roles/tmux/tasks/install/void.yml deleted file mode 100644 index fc4e64b..0000000 --- a/roles/tmux/tasks/install/void.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (void) installing tmux - community.general.xbps: - name: tmux - state: present - update_cache: true - become: true diff --git a/roles/tmux/tasks/main.yml b/roles/tmux/tasks/main.yml index 58ece0e..459d0e1 100644 --- a/roles/tmux/tasks/main.yml +++ b/roles/tmux/tasks/main.yml @@ -2,12 +2,11 @@ # Managing tmux - name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - tmux - - tmux-install + ansible.builtin.package: + name: tmux + state: present + update_cache: true + become: true tags: - tmux - tmux-install