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
|
||||
|
||||
# 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
|
||||
* Playbooks
|
||||
** yavdr07.yml
|
||||
@ -1821,28 +1821,31 @@ b'\xde\xad\xbe\xef'
|
||||
name: x@vt7.service
|
||||
state: stopped
|
||||
|
||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||
wait_for:
|
||||
timeout: 10
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: started
|
||||
enabled: false
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||
wait_for:
|
||||
timeout: 3
|
||||
|
||||
- name: "stop x-verbose@vt7.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: stopped
|
||||
enabled: false
|
||||
masked: true
|
||||
- name: Workaround for wrong connector names on first run
|
||||
block:
|
||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||
wait_for:
|
||||
timeout: 10
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: started
|
||||
enabled: false
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||
wait_for:
|
||||
timeout: 3
|
||||
|
||||
- name: "stop x-verbose@vt7.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: stopped
|
||||
enabled: false
|
||||
masked: true
|
||||
tags: first_run
|
||||
|
||||
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
||||
wait_for:
|
||||
|
@ -13,4 +13,4 @@ apt-get update
|
||||
apt-get -y install --no-install-recommends ansible
|
||||
|
||||
# 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
|
||||
state: stopped
|
||||
|
||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||
wait_for:
|
||||
timeout: 10
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: started
|
||||
enabled: false
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||
wait_for:
|
||||
timeout: 3
|
||||
|
||||
- name: "stop x-verbose@vt7.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: stopped
|
||||
enabled: false
|
||||
masked: true
|
||||
- name: Workaround for wrong connector names on first run
|
||||
block:
|
||||
- name: "wait a little bit before starting x-verbose@vt7.service (needed?)"
|
||||
wait_for:
|
||||
timeout: 10
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: started
|
||||
enabled: false
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: "wait a little bit, so X has some time to start up (needed?)"
|
||||
wait_for:
|
||||
timeout: 3
|
||||
|
||||
- name: "stop x-verbose@vt7.service"
|
||||
systemd:
|
||||
name: "x-verbose@vt7.service"
|
||||
state: stopped
|
||||
enabled: false
|
||||
masked: true
|
||||
tags: first_run
|
||||
|
||||
- name: "wait a little bit, so X has some time to shut down (needed?)"
|
||||
wait_for:
|
||||
|
Loading…
Reference in New Issue
Block a user