Add expansion of some templates, rearrange tasks
This commit is contained in:
parent
6c3cc84c60
commit
4dfb0fde81
15
Manual.org
15
Manual.org
@ -1590,6 +1590,21 @@ b'\xde\xad\xbe\xef'
|
|||||||
template:
|
template:
|
||||||
src: roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
|
src: roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
|
||||||
dest: '{{ vdr.home }}/.config/systemd/user/tmux.service'
|
dest: '{{ vdr.home }}/.config/systemd/user/tmux.service'
|
||||||
|
|
||||||
|
- name: create detect-second-display.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/detect-second-display.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/detect-second-display.service'
|
||||||
|
|
||||||
|
- name: create openbox-second.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/openbox-second.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/openbox-second.service'
|
||||||
|
|
||||||
|
- name: create osd2web.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/osd2web.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/osd2web.service'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** templates
|
*** templates
|
||||||
**** xorg
|
**** xorg
|
||||||
|
@ -70,3 +70,18 @@
|
|||||||
template:
|
template:
|
||||||
src: roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
|
src: roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
|
||||||
dest: '{{ vdr.home }}/.config/systemd/user/tmux.service'
|
dest: '{{ vdr.home }}/.config/systemd/user/tmux.service'
|
||||||
|
|
||||||
|
- name: create detect-second-display.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/detect-second-display.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/detect-second-display.service'
|
||||||
|
|
||||||
|
- name: create openbox-second.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/openbox-second.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/openbox-second.service'
|
||||||
|
|
||||||
|
- name: create osd2web.service for the session
|
||||||
|
template:
|
||||||
|
src: templates/systemd/user/osd2web.service.j2
|
||||||
|
dest: '{{ vdr.home }}/.config/systemd/user/osd2web.service'
|
||||||
|
@ -19,6 +19,11 @@
|
|||||||
src: templates/vdr-xorg.conf
|
src: templates/vdr-xorg.conf
|
||||||
dest: /etc/systemd/system/vdr.service.d/vdr-xorg.conf
|
dest: /etc/systemd/system/vdr.service.d/vdr-xorg.conf
|
||||||
|
|
||||||
|
- name: load environment file for vdr.service
|
||||||
|
template:
|
||||||
|
src: templates/systemd/vdr-environ.j2
|
||||||
|
dest: /etc/systemd/system/vdr.service.d/load-environ.conf
|
||||||
|
|
||||||
- name: set a login shell for the user vdr
|
- name: set a login shell for the user vdr
|
||||||
user:
|
user:
|
||||||
name: '{{ vdr.user }}'
|
name: '{{ vdr.user }}'
|
||||||
@ -28,12 +33,6 @@
|
|||||||
groups: '{{ vdr.group }}'
|
groups: '{{ vdr.group }}'
|
||||||
append: yes
|
append: yes
|
||||||
|
|
||||||
|
|
||||||
- name: add environment file for vdr.service
|
|
||||||
template:
|
|
||||||
src: templates/systemd/vdr-environ.j2
|
|
||||||
dest: /etc/systemd/system/vdr.service.d/load-environ.conf
|
|
||||||
|
|
||||||
- name: install packages for xorg
|
- name: install packages for xorg
|
||||||
apt:
|
apt:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user