33 lines
984 B
YAML
33 lines
984 B
YAML
---
|
|
# Tmux standard configuration
|
|
|
|
- name: Creating configuration folders
|
|
ansible.builtin.file:
|
|
path: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.config/tmux/plugins"
|
|
state: directory
|
|
owner: syntaxerrormmm
|
|
group: syntaxerrormmm
|
|
mode: '0755'
|
|
|
|
- name: Getting tpm
|
|
ansible.builtin.git:
|
|
repo: https://github.com/tmux-plugins/tpm.git
|
|
depth: 1
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.config/tmux/plugins/tpm"
|
|
|
|
- name: Linking default configuration file
|
|
ansible.builtin.file:
|
|
src: "{{ dotfdir }}/tmux.conf"
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.config/tmux/tmux.conf"
|
|
state: link
|
|
owner: syntaxerrormmm
|
|
group: syntaxerrormmm
|
|
|
|
- name: Fallback default old standard
|
|
ansible.builtin.file:
|
|
src: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.config/tmux/tmux.conf"
|
|
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.tmux.conf"
|
|
state: link
|
|
owner: syntaxerrormmm
|
|
group: syntaxerrormmm
|