Ansible_workstation/tasks/dotfiles_desktop.yml

112 lines
2.4 KiB
YAML
Raw Normal View History

---
- name: Copy urxvt Xdefault
template:
src: files/dotfiles/Xdefaults
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.Xdefaults
when: not minimal
# Tmux
2019-05-11 16:09:03 +00:00
- name: Clone TPM (tmux plugin manager)
git:
repo: https://github.com/tmux-plugins/tpm
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.tmux/plugins/tpm
2019-05-11 16:09:03 +00:00
version: master
accept_hostkey: yes
- name: Install tmuxp (Archlinux)
pacman:
name:
- tmuxp
state: present
when: ansible_distribution != 'Debian'
2019-05-11 16:09:03 +00:00
- name: Copy .tmuxp/
2019-05-11 16:09:03 +00:00
copy:
src: files/dotfiles/tmuxp/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.tmuxp/
owner: "{{ me.username }}"
group: "{{ me.group }}"
2019-05-11 16:09:03 +00:00
# Mocp
- name: Install mocp (Archlinux)
pacman:
name:
2019-05-11 09:09:53 +00:00
- moc
state: present
when: ansible_distribution != 'Debian'
2019-05-11 16:30:41 +00:00
- name: mocp configfile
copy:
src: files/dotfiles/moc/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.moc/
owner: "{{ me.username }}"
group: "{{ me.group }}"
# Newsboat
- name: Install newsboat (Archlinux)
pacman:
name:
- newsboat
state: present
when: ansible_distribution != 'Debian'
- name: Newsboat configfiles
copy:
src: files/dotfiles/newsboat/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.newsboat/
owner: "{{ me.username }}"
group: "{{ me.group }}"
# vifm
2019-06-10 16:11:39 +00:00
- name: Install vifm (Archlinux)
pacman:
name:
- vifm
state: present
when: ansible_distribution != 'Debian'
- name: Vifm config folder
copy:
src: files/dotfiles/vifm/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.config/vifm
owner: "{{ me.username }}"
group: "{{ me.group }}"
# Mail, contact and calendar
- 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/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.config/vdirsyncer/
owner: "{{ me.username }}"
group: "{{ me.group }}"
- name: mutt config files
copy:
src: files/dotfiles/mutt/
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.config/mutt/
owner: "{{ me.username }}"
group: "{{ me.group }}"
- name: Install imap synchroniser (Archlinux)
pacman:
name:
- isync
state: present
when: ansible_distribution != 'Debian'
- name: isync configfiles
template:
src: files/dotfiles/mbsyncrc
2020-07-17 10:03:04 +00:00
dest: /home/{{ me.username }}/.mbsyncrc
owner: "{{ me.username }}"
group: "{{ me.group }}"