batcave: Add a /var/tmux folder where we can share tmux sessions across users

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-04-30 13:40:56 +02:00
parent bb719cdc5d
commit d579699c58

View file

@ -502,3 +502,15 @@
- config
- batcave
- selinux
- name: Create the /var/tmux folder for shared tmux session
file: path=/var/tmux mode=774 owner=root group=sysadmin state=directory
tags:
- batcave
- tmux
- name: Let the /var/tmux folder be writable to fi-apprentice as well
command: setfacl -Rdm g:fi-apprentice:rwx /var/tmux
tags:
- batcave
- tmux