Move tmux configuration file path

This commit is contained in:
Sonny Bakker 2025-01-19 21:46:42 +01:00
parent 0113a9c143
commit ad47adabd0

View file

@ -15,10 +15,21 @@
update: yes
when: dotfile_ssh_clone.failed
- name: create git configuration directory
file:
path: '{{ xdg_config_dir }}/git'
- name: Create xdg configuration directories
ansible.builtin.file:
path: '{{ item }}'
state: directory
mode: '644'
loop:
- '{{ xdg_config_dir }}/git'
- '{{ xdg_config_dir }}/tmux'
- name: Remove previous dotfiles
ansible.builtin.file:
path: '{{ item }}'
state: absent
loop:
- '{{ ansible_env.HOME }}/.tmux.conf'
- name: setup dotfiles
file:
@ -41,7 +52,7 @@
}
- {
src: '{{ ansible_env.HOME }}/dotfiles/.tmux.conf',
dest: '{{ ansible_env.HOME }}/.tmux.conf',
dest: '{{ xdg_config_dir }}/tmux/tmux.conf',
}
- {
src: '{{ ansible_env.HOME }}/dotfiles/.gitignore',