--- # Tmux standard configuration - name: Creating configuration folders ansible.builtin.file: path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/tmux/plugins" state: directory mode: '0755' - name: Getting tpm ansible.builtin.git: # noqa: latest[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 - 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