chore: rework directory structure
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
1fbdeb0d21
commit
01225fd44d
169 changed files with 1410 additions and 1690 deletions
roles/user/shell/tmux/tasks
6
roles/user/shell/tmux/tasks/install.yml
Normal file
6
roles/user/shell/tmux/tasks/install.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Install tmux
|
||||
ansible.builtin.package:
|
||||
name: tmux
|
||||
state: present
|
||||
become: true
|
27
roles/user/shell/tmux/tasks/main.yml
Normal file
27
roles/user/shell/tmux/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue