workstation/roles/home-gui/tasks/dotfiles.yml

48 lines
1.4 KiB
YAML

---
- name: Copy .Xresources
copy:
src: Xresources
dest: "{{ ansible_env.HOME }}/.Xresources"
- name: Copy .fonts.conf
copy:
src: fonts.conf
dest: "{{ ansible_env.HOME }}/.fonts.conf"
- name: Copy redshift.conf
copy:
src: redshift.conf
dest: "{{ ansible_env.HOME }}/.config/redshift.conf"
- name: Auto start nextcloud
copy:
src: nextcloud.desktop
dest: "{{ ansible_env.HOME }}/.config/autostart/nextcloud.desktop"
- name: Auto start redshift-gtk
copy:
src: redshift-gtk.desktop
dest: "{{ ansible_env.HOME }}/.config/autostart/redshift-gtk.desktop"
- name: Auto start remmina-applet
copy:
src: remmina-applet.desktop
dest: "{{ ansible_env.HOME }}/.config/autostart/remmina-applet.desktop"
- name: Create stalonetrayrc
copy:
src: stalonetrayrc
dest: "{{ ansible_env.HOME }}/.stalonetrayrc"
- name: Create FreeBSD xsession file
copy:
src: xsession-freebsd
dest: "{{ ansible_env.HOME }}/.xsession"
when: ansible_system == "FreeBSD"
- name: Create fvwm config file
copy:
src: fvwmrc
dest: "{{ ansible_env.HOME }}/.fvwm/config"
- name: Create NetBSD xsession file
copy:
src: xsession-netbsd
dest: "{{ ansible_env.HOME }}/.xsession"
when: ansible_system == "NetBSD"
- name: Create xinitrc symlink
file:
src: ".xsession"
dest: "{{ ansible_env.HOME }}/.xinitrc"
state: link