From 115b67b84cc7d0bb8d777b8b18e70dc1008874a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 30 May 2024 17:09:25 +0200 Subject: [PATCH] feat: rollout different tmux configs for RHEL 7 and 8 --- tasks/configure_tmux.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tasks/configure_tmux.yml b/tasks/configure_tmux.yml index ed39678..777545e 100644 --- a/tasks/configure_tmux.yml +++ b/tasks/configure_tmux.yml @@ -11,7 +11,10 @@ set -g mouse on set -g history-limit 10000 when: - (ansible_os_family == "Debian") + ( ansible_os_family == "Debian" ) or + (( ansible_os_family == 'RedHat' ) and + ( ansible_distribution_major_version == "8" )) + - name: Enable mouse mode in tmux, increase scrollback buffer to 10.000 (older OSses) ansible.builtin.blockinfile: @@ -34,5 +37,5 @@ set -g mode-mouse on set -g history-limit 10000 - when: - ansible_os_family == "RedHat" + when: ( ansible_os_family == 'RedHat' ) and + ( ansible_distribution_major_version == "7" ) -- GitLab