openqa_server: tweak the asset size changed_when a bit
just in case we wind up with multiple job groups, this should be more correct.
This commit is contained in:
parent
2bbac61464
commit
461aac031c
1 changed files with 1 additions and 1 deletions
|
@ -235,4 +235,4 @@
|
|||
command: "psql -d {{ openqa_dbname }} -c \"UPDATE job_groups SET size_limit_gb = {{ openqa_assetsize }} WHERE size_limit_gb != {{ openqa_assetsize }};\""
|
||||
when: "openqa_dbhost is defined and openqa_assetsize is defined"
|
||||
register: pgsqlsize
|
||||
changed_when: "pgsqlsize.stdout.find('UPDATE 1') != -1"
|
||||
changed_when: "pgsqlsize.stdout.find('UPDATE 0') == -1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue