Add always_run to tasks where we register things we use later.
This commit is contained in:
parent
8eebcf0b66
commit
e6e5470746
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,7 @@
|
|||
register: gittests
|
||||
sudo: true
|
||||
sudo_user: geekotest
|
||||
always_run: true
|
||||
|
||||
- name: Check out openqa_fedora_tools
|
||||
git:
|
||||
|
@ -159,6 +160,7 @@
|
|||
register: initdb
|
||||
changed_when: "initdb.rc == 0"
|
||||
failed_when: "(initdb.rc > 0) and (initdb.stderr is not defined or initdb.stderr.find('already exists') == -1)"
|
||||
always_run: true
|
||||
|
||||
- name: Enable and start services
|
||||
service: name={{ item }} enabled=yes state=started
|
||||
|
@ -168,6 +170,7 @@
|
|||
- openqa-webui
|
||||
- openqa-websockets
|
||||
- openqa-gru
|
||||
always_run: true
|
||||
|
||||
# This is using a big hammer until #1277312 is resolved
|
||||
- name: Allow Apache to connect to openQA
|
||||
|
@ -187,6 +190,7 @@
|
|||
register: admin
|
||||
changed_when: "admin.rc == 0"
|
||||
failed_when: "(admin.rc > 0) and (admin.stderr is not defined or admin.stderr.find('already exists') == -1)"
|
||||
always_run: true
|
||||
|
||||
- name: Patch repo URLs in templates
|
||||
shell: "cp /var/lib/openqa/share/tests/fedora/templates /tmp && sed -i -e 's,dl.fedoraproject,dl.phx2.fedoraproject,g' /tmp/templates"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue