openqa/server: remove a no-longer-needed workaround
This commit is contained in:
parent
db39853b51
commit
a52111ec54
1 changed files with 1 additions and 5 deletions
|
@ -202,12 +202,8 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
# we redirect stdout to stderr here to account for a difference between
|
|
||||||
# openQA <= 4.4-32 (currently in prod) and openQA >= 4.4-33 (currently in
|
|
||||||
# stg). When 4.4-33 or later is in prod, we can drop that and go back to
|
|
||||||
# command instead of shell
|
|
||||||
- name: Initialize database
|
- name: Initialize database
|
||||||
shell: "/usr/share/openqa/script/initdb --user geekotest --init_database 1>&2"
|
shell: "/usr/share/openqa/script/initdb --user geekotest --init_database"
|
||||||
register: initdb
|
register: initdb
|
||||||
changed_when: "initdb.rc == 0"
|
changed_when: "initdb.rc == 0"
|
||||||
failed_when: "(initdb.rc > 0) and (initdb.stderr is not defined or initdb.stderr.find('already exists') == -1)"
|
failed_when: "(initdb.rc > 0) and (initdb.stderr is not defined or initdb.stderr.find('already exists') == -1)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue