Add block for repeated start of xorg-verbose@vt7.service
This commit is contained in:
parent
af3ef457b6
commit
c36056561f
861
Manual.html
861
Manual.html
File diff suppressed because it is too large
Load Diff
49
Manual.org
49
Manual.org
@ -154,7 +154,7 @@ apt-get update
|
|||||||
apt-get -y install --no-install-recommends ansible
|
apt-get -y install --no-install-recommends ansible
|
||||||
|
|
||||||
# TODO: run ansible on local host
|
# TODO: run ansible on local host
|
||||||
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags=all
|
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Playbooks
|
* Playbooks
|
||||||
** yavdr07.yml
|
** yavdr07.yml
|
||||||
@ -1821,28 +1821,31 @@ b'\xde\xad\xbe\xef'
|
|||||||
name: x@vt7.service
|
name: x@vt7.service
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
- name: Workaround for wrong connector names on first run
|
||||||
wait_for:
|
block:
|
||||||
timeout: 10
|
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||||
|
wait_for:
|
||||||
- name: "start x-verbose@.service"
|
timeout: 10
|
||||||
systemd:
|
|
||||||
name: "x-verbose@vt7.service"
|
- name: "start x-verbose@.service"
|
||||||
state: started
|
systemd:
|
||||||
enabled: false
|
name: "x-verbose@vt7.service"
|
||||||
masked: false
|
state: started
|
||||||
daemon_reload: true
|
enabled: false
|
||||||
|
masked: false
|
||||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
daemon_reload: true
|
||||||
wait_for:
|
|
||||||
timeout: 3
|
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||||
|
wait_for:
|
||||||
- name: "stop x-verbose@vt7.service"
|
timeout: 3
|
||||||
systemd:
|
|
||||||
name: "x-verbose@vt7.service"
|
- name: "stop x-verbose@vt7.service"
|
||||||
state: stopped
|
systemd:
|
||||||
enabled: false
|
name: "x-verbose@vt7.service"
|
||||||
masked: true
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
masked: true
|
||||||
|
tags: first_run
|
||||||
|
|
||||||
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
||||||
wait_for:
|
wait_for:
|
||||||
|
@ -13,4 +13,4 @@ apt-get update
|
|||||||
apt-get -y install --no-install-recommends ansible
|
apt-get -y install --no-install-recommends ansible
|
||||||
|
|
||||||
# TODO: run ansible on local host
|
# TODO: run ansible on local host
|
||||||
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags=all
|
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all"
|
||||||
|
@ -28,28 +28,31 @@
|
|||||||
name: x@vt7.service
|
name: x@vt7.service
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
- name: Workaround for wrong connector names on first run
|
||||||
wait_for:
|
block:
|
||||||
timeout: 10
|
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||||
|
wait_for:
|
||||||
- name: "start x-verbose@.service"
|
timeout: 10
|
||||||
systemd:
|
|
||||||
name: "x-verbose@vt7.service"
|
- name: "start x-verbose@.service"
|
||||||
state: started
|
systemd:
|
||||||
enabled: false
|
name: "x-verbose@vt7.service"
|
||||||
masked: false
|
state: started
|
||||||
daemon_reload: true
|
enabled: false
|
||||||
|
masked: false
|
||||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
daemon_reload: true
|
||||||
wait_for:
|
|
||||||
timeout: 3
|
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||||
|
wait_for:
|
||||||
- name: "stop x-verbose@vt7.service"
|
timeout: 3
|
||||||
systemd:
|
|
||||||
name: "x-verbose@vt7.service"
|
- name: "stop x-verbose@vt7.service"
|
||||||
state: stopped
|
systemd:
|
||||||
enabled: false
|
name: "x-verbose@vt7.service"
|
||||||
masked: true
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
masked: true
|
||||||
|
tags: first_run
|
||||||
|
|
||||||
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
||||||
wait_for:
|
wait_for:
|
||||||
|
Loading…
Reference in New Issue
Block a user