Add block for repeated start of xorg-verbose@vt7.service

This commit is contained in:
Alexander Grothe 2018-01-07 17:40:29 +01:00
parent af3ef457b6
commit c36056561f
4 changed files with 484 additions and 475 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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:
timeout: 10
- name: "start x-verbose@.service" - name: "start x-verbose@.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"
state: started state: started
enabled: false enabled: false
masked: false masked: false
daemon_reload: true daemon_reload: true
- name: "wait a little bit, so X has some time to start up (needed?)" - name: "wait a little bit, so X has some time to start up (needed?)"
wait_for: wait_for:
timeout: 3 timeout: 3
- name: "stop x-verbose@vt7.service" - name: "stop x-verbose@vt7.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"
state: stopped state: stopped
enabled: false enabled: false
masked: true 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:

View File

@ -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"

View File

@ -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:
timeout: 10
- name: "start x-verbose@.service" - name: "start x-verbose@.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"
state: started state: started
enabled: false enabled: false
masked: false masked: false
daemon_reload: true daemon_reload: true
- name: "wait a little bit, so X has some time to start up (needed?)" - name: "wait a little bit, so X has some time to start up (needed?)"
wait_for: wait_for:
timeout: 3 timeout: 3
- name: "stop x-verbose@vt7.service" - name: "stop x-verbose@vt7.service"
systemd: systemd:
name: "x-verbose@vt7.service" name: "x-verbose@vt7.service"
state: stopped state: stopped
enabled: false enabled: false
masked: true 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: