chore: move out user roles

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-07-12 21:23:02 +02:00
parent 281b95d824
commit 0554e665c5
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8
157 changed files with 17 additions and 17 deletions
roles/shell/tmux/tasks

View file

@ -0,0 +1,6 @@
---
- name: Install tmux
ansible.builtin.package:
name: tmux
state: present
become: true

View file

@ -0,0 +1,27 @@
---
- name: Packages
ansible.builtin.include_tasks: install.yml
tags: install
- name: Create .tmux
ansible.builtin.file:
path: ~/.tmux
state: directory
mode: 0700
- name: Clone tpm
ansible.builtin.git:
repo: https://github.com/tmux-plugins/tpm
dest: ~/.tmux/plugins/tpm
- name: Create tmux.conf
ansible.builtin.copy:
src: files/tmux.conf
dest: ~/.tmux.conf
mode: 0600
- name: Create tmux status configuration
ansible.builtin.copy:
src: files/tmux_status.conf
dest: ~/.tmux/status.conf
mode: 0600