Move tmux configuration file path
This commit is contained in:
parent
0113a9c143
commit
ad47adabd0
1 changed files with 15 additions and 4 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue