From 565d2a135dcdbb311cb7d2ba2d672c5b40013295 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Thu, 4 Jan 2024 22:56:06 +0100 Subject: [PATCH] added tmux setup for the root user --- ansible/roles/tmux/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible/roles/tmux/tasks/main.yml b/ansible/roles/tmux/tasks/main.yml index 46641f1..04e864c 100644 --- a/ansible/roles/tmux/tasks/main.yml +++ b/ansible/roles/tmux/tasks/main.yml @@ -13,7 +13,11 @@ clone: true single_branch: true depth: 1 -- name: Setup TMUX +- name: Setup TMUX for the unprivileged user copy: src: tmux/tmux.conf dest: "/$HOME/.tmux.conf" +- name: Setup TMUX for the root user + copy: + src: tmux/tmux.conf + dest: "/root/.tmux.conf"