Fix: replace item by me

This commit is contained in:
Bertrand Benjamin 2020-07-17 12:03:04 +02:00
parent 94c98dfdc2
commit 55a5f6a46b

View File

@ -2,18 +2,16 @@
- name: Copy urxvt Xdefault - name: Copy urxvt Xdefault
template: template:
src: files/dotfiles/Xdefaults src: files/dotfiles/Xdefaults
dest: /home/{{ item.username }}/.Xdefaults dest: /home/{{ me.username }}/.Xdefaults
with_items: "{{ me }}"
when: not minimal when: not minimal
# Tmux # Tmux
- name: Clone TPM (tmux plugin manager) - name: Clone TPM (tmux plugin manager)
git: git:
repo: https://github.com/tmux-plugins/tpm repo: https://github.com/tmux-plugins/tpm
dest: /home/{{ item.username }}/.tmux/plugins/tpm dest: /home/{{ me.username }}/.tmux/plugins/tpm
version: master version: master
accept_hostkey: yes accept_hostkey: yes
with_items: "{{ me }}"
- name: Install tmuxp (Archlinux) - name: Install tmuxp (Archlinux)
pacman: pacman:
@ -25,10 +23,9 @@
- name: Copy .tmuxp/ - name: Copy .tmuxp/
copy: copy:
src: files/dotfiles/tmuxp/ src: files/dotfiles/tmuxp/
dest: /home/{{ item.username }}/.tmuxp/ dest: /home/{{ me.username }}/.tmuxp/
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
# Mocp # Mocp
- name: Install mocp (Archlinux) - name: Install mocp (Archlinux)
@ -41,10 +38,9 @@
- name: mocp configfile - name: mocp configfile
copy: copy:
src: files/dotfiles/moc/ src: files/dotfiles/moc/
dest: /home/{{ item.username }}/.moc/ dest: /home/{{ me.username }}/.moc/
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
# Newsboat # Newsboat
- name: Install newsboat (Archlinux) - name: Install newsboat (Archlinux)
@ -57,10 +53,9 @@
- name: Newsboat configfiles - name: Newsboat configfiles
copy: copy:
src: files/dotfiles/newsboat/ src: files/dotfiles/newsboat/
dest: /home/{{ item.username }}/.newsboat/ dest: /home/{{ me.username }}/.newsboat/
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
# vifm # vifm
- name: Install vifm (Archlinux) - name: Install vifm (Archlinux)
@ -73,10 +68,9 @@
- name: Vifm config folder - name: Vifm config folder
copy: copy:
src: files/dotfiles/vifm/ src: files/dotfiles/vifm/
dest: /home/{{ item.username }}/.config/vifm dest: /home/{{ me.username }}/.config/vifm
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
# Mail, contact and calendar # Mail, contact and calendar
- name: Install calendar and contact synchronisation tools (Archlinux) - name: Install calendar and contact synchronisation tools (Archlinux)
@ -91,18 +85,16 @@
- name: vdirsyncer configfiles - name: vdirsyncer configfiles
copy: copy:
src: files/dotfiles/vdirsyncer/ src: files/dotfiles/vdirsyncer/
dest: /home/{{ item.username }}/.config/vdirsyncer/ dest: /home/{{ me.username }}/.config/vdirsyncer/
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
- name: mutt config files - name: mutt config files
copy: copy:
src: files/dotfiles/mutt/ src: files/dotfiles/mutt/
dest: /home/{{ item.username }}/.config/mutt/ dest: /home/{{ me.username }}/.config/mutt/
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"
- name: Install imap synchroniser (Archlinux) - name: Install imap synchroniser (Archlinux)
pacman: pacman:
@ -114,7 +106,6 @@
- name: isync configfiles - name: isync configfiles
template: template:
src: files/dotfiles/mbsyncrc src: files/dotfiles/mbsyncrc
dest: /home/{{ item.username }}/.mbsyncrc dest: /home/{{ me.username }}/.mbsyncrc
owner: "{{ item.username }}" owner: "{{ me.username }}"
group: "{{ item.group }}" group: "{{ me.group }}"
with_items: "{{ me }}"