Merge remote-tracking branch 'origin/master'

This commit is contained in:
Bertrand Benjamin 2020-05-26 20:19:45 +02:00
commit 97d4a0055a
2 changed files with 5 additions and 11 deletions

View File

@ -9,8 +9,8 @@
# Zsh config # Zsh config
- name: dotfiles -- Download antibody - name: dotfiles -- Download antibody
get_url: get_url:
url: https://raw.githubusercontent.com/getantibody/installer/master/install url: https://raw.githubusercontent.com/getantibody/installer/master/install
dest: /tmp/antibody.sh dest: /tmp/antibody.sh
mode: 0770 mode: 0770
when: prompt == "zsh" when: prompt == "zsh"
@ -116,19 +116,12 @@
- name: dotfiles -- Copy nvim config - name: dotfiles -- Copy nvim config
copy: copy:
src: files/dotfiles/nvim src: files/dotfiles/nvim
dest: /home/{{ item.username }}/.config/nvim dest: /home/{{ item.username }}/.config
owner: "{{ item.username }}" owner: "{{ item.username }}"
group: "{{ item.group }}" group: "{{ item.group }}"
with_items: "{{ me }}" with_items: "{{ me }}"
when: editor == 'nvim' when: editor == 'nvim'
- name: dotfiles -- Creates nvim/autoload/
file:
path: /home/{{ item.username }}/.config/nvim/autoload/
state: directory
with_items: "{{ me }}"
when: editor == 'nvim'
- name: dotfiles -- Download plug.vim for nvim - name: dotfiles -- Download plug.vim for nvim
get_url: get_url:
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
@ -142,7 +135,7 @@
- name: dotfiles -- Copy alacritty config - name: dotfiles -- Copy alacritty config
copy: copy:
src: files/dotfiles/alacritty src: files/dotfiles/alacritty
dest: /home/{{ item.username }}/.config/alacritty dest: /home/{{ item.username }}/.config
owner: "{{ item.username }}" owner: "{{ item.username }}"
group: "{{ item.group }}" group: "{{ item.group }}"
with_items: "{{ me }}" with_items: "{{ me }}"

View File

@ -22,3 +22,4 @@ autofs:
music_dir: /media/documents/musique/ music_dir: /media/documents/musique/
is_pacman_cache_server: True