Extend timeout for RPM verification

For systems with many packages deployed or heavy loaded environments
rpm verification takes the way more time then 5 minutes ending up in
corrupted database of the rpm packages. So we set limit to 1 hour
and extending amount of retries to wait for result to match the async
timeout

Change-Id: I30d29630214914bea99fc7fd66afa3218705d733
Closes-Bug: #1921292
This commit is contained in:
Dmitriy Rabotyagov 2021-03-25 09:47:35 +02:00
parent 4cdc2de73c
commit e4b55822cf
3 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@
failed_when: False
changed_when: False
register: rpmverify_task
async: 300
async: 3600
poll: 0
when:
- not check_mode | bool

View File

@ -20,7 +20,8 @@
changed_when: False
register: job_result
until: job_result.finished
retries: 30
retries: 360
delay: 10
when:
- rpmverify_task is not skipped
tags:

View File

@ -21,7 +21,8 @@
changed_when: False
register: job_result
until: job_result.finished
retries: 30
retries: 360
delay: 10
when:
- rpmverify_task is not skipped
tags: