Change order of package installation and stopping xorg-related jobs,

so it does not fail because they don't exist yet.
This commit is contained in:
Alexander Grothe 2017-07-16 08:02:25 +02:00
parent 15dd3f24f8
commit fbd5e88f64
2 changed files with 16 additions and 30 deletions

View File

@ -1388,19 +1388,6 @@ b'\xde\xad\xbe\xef'
src: templates/systemd/vdr-environ.j2
dest: /etc/systemd/system/vdr.service.d/load-environ.conf
- name: Stop xlogin
systemd:
name: xlogin@vdr.service
state: stopped
enabled: yes
ignore_errors: yes
- name: Stop x
systemd:
name: x@vt7.service
state: stopped
ignore_errors: yes
- name: install packages for xorg
apt:
name: '{{ item }}'
@ -1417,9 +1404,15 @@ b'\xde\xad\xbe\xef'
- read-edid
#- yavdr-xorg
- name: "stop x@vt7.service"
- name: Stop xlogin
systemd:
name: "x@vt7.service"
name: xlogin@vdr.service
state: stopped
enabled: yesg
- name: Stop x
systemd:
name: x@vt7.service
state: stopped
- name: "expand template for x-verbose@.service"

View File

@ -19,19 +19,6 @@
src: templates/systemd/vdr-environ.j2
dest: /etc/systemd/system/vdr.service.d/load-environ.conf
- name: Stop xlogin
systemd:
name: xlogin@vdr.service
state: stopped
enabled: yes
ignore_errors: yes
- name: Stop x
systemd:
name: x@vt7.service
state: stopped
ignore_errors: yes
- name: install packages for xorg
apt:
name: '{{ item }}'
@ -48,9 +35,15 @@
- read-edid
#- yavdr-xorg
- name: "stop x@vt7.service"
- name: Stop xlogin
systemd:
name: "x@vt7.service"
name: xlogin@vdr.service
state: stopped
enabled: yesg
- name: Stop x
systemd:
name: x@vt7.service
state: stopped
- name: "expand template for x-verbose@.service"