101 lines
2.3 KiB
YAML
101 lines
2.3 KiB
YAML
---
|
|
- name: Copy urxvt Xdefault
|
|
template:
|
|
src: files/dotfiles/Xdefaults
|
|
dest: /home/{{ item.username }}/.Xdefaults
|
|
with_items: "{{ me }}"
|
|
when: not minimal
|
|
|
|
- name: Clone TPM (tmux plugin manager)
|
|
git:
|
|
repo: https://github.com/tmux-plugins/tpm
|
|
dest: /home/{{ item.username }}/.tmux/plugins/tpm
|
|
version: master
|
|
accept_hostkey: yes
|
|
with_items: "{{ me }}"
|
|
|
|
- name: Install tmuxinator (Archlinux)
|
|
# aur:
|
|
# name: tmuxinator
|
|
# use: makepkg
|
|
# skip_installed: true
|
|
# become: yes
|
|
# become_user: aur_builder
|
|
# when: ansible_distribution != 'Debian'
|
|
gem:
|
|
name: tmuxinator
|
|
state: latest
|
|
become: yes
|
|
become_user: "{{ me }}"
|
|
when: not minimal and not server
|
|
|
|
- name: Copy .tmuxinator/
|
|
copy:
|
|
src: files/dotfiles/tmuxinator/
|
|
dest: /home/{{ item.username }}/.tmuxinator/
|
|
owner: "{{ item.username }}"
|
|
group: "{{ item.username }}"
|
|
with_items: "{{ me }}"
|
|
|
|
- name: Install mocp (Archlinux)
|
|
pacman:
|
|
name:
|
|
- moc
|
|
state: present
|
|
when: ansible_distribution != 'Debian'
|
|
|
|
- name: mocp configfile
|
|
copy:
|
|
src: files/dotfiles/moc/
|
|
dest: /home/{{ item.username }}/.moc/
|
|
owner: "{{ item.username }}"
|
|
group: "{{ item.username }}"
|
|
with_items: "{{ me }}"
|
|
|
|
- name: Install newsboat (Archlinux)
|
|
pacman:
|
|
name:
|
|
- newsboat
|
|
state: present
|
|
when: ansible_distribution != 'Debian'
|
|
|
|
- name: Newsboat configfiles
|
|
copy:
|
|
src: files/dotfiles/newsboat/
|
|
dest: /home/{{ item.username }}/.newsboat/
|
|
owner: "{{ item.username }}"
|
|
group: "{{ item.username }}"
|
|
with_items: "{{ me }}"
|
|
|
|
- name: Install calendar and contact synchronisation tools (Archlinux)
|
|
pacman:
|
|
name:
|
|
- khal
|
|
- khard
|
|
- vdirsyncer
|
|
state: present
|
|
when: ansible_distribution != 'Debian'
|
|
|
|
- name: vdirsyncer configfiles
|
|
copy:
|
|
src: files/dotfiles/vdirsyncer/
|
|
dest: /home/{{ item.username }}/.config/vdirsyncer/
|
|
owner: "{{ item.username }}"
|
|
group: "{{ item.username }}"
|
|
with_items: "{{ me }}"
|
|
|
|
- name: Install imap synchroniser (Archlinux)
|
|
pacman:
|
|
name:
|
|
- isync
|
|
state: present
|
|
when: ansible_distribution != 'Debian'
|
|
|
|
- name: isync configfiles
|
|
template:
|
|
src: files/dotfiles/mbsyncrc
|
|
dest: /home/{{ item.username }}/.mbsyncrc
|
|
owner: "{{ item.username }}"
|
|
group: "{{ item.username }}"
|
|
with_items: "{{ me }}"
|