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