Fix gitignore location
This commit is contained in:
parent
0d85540281
commit
3587460d37
1 changed files with 6 additions and 1 deletions
|
|
@ -15,6 +15,11 @@
|
|||
update: yes
|
||||
when: dotfile_ssh_clone.failed
|
||||
|
||||
- name: create git configuration directory
|
||||
file:
|
||||
path: '{{ xdg_config_dir }}/git'
|
||||
state: directory
|
||||
|
||||
- name: setup dotfiles
|
||||
file:
|
||||
path: '{{ item.dest }}'
|
||||
|
|
@ -40,5 +45,5 @@
|
|||
}
|
||||
- {
|
||||
src: '{{ ansible_env.HOME }}/dotfiles/.gitignore',
|
||||
dest: '{{ ansible_env.HOME }}/.gitignore',
|
||||
dest: '{{ xdg_config_dir }}/git/ignore',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue