Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Fix template for pulp_health_check
Browse files Browse the repository at this point in the history
  • Loading branch information
fao89 committed Aug 19, 2020
1 parent 957d542 commit 3e5df43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES/7335.bugfix
@@ -0,0 +1 @@
Fix template for pulp_health_check
6 changes: 3 additions & 3 deletions roles/pulp_health_check/tasks/main.yml
Expand Up @@ -24,9 +24,9 @@
status_code: "200"
register: result
until: >
'json' in result and
result.json.database_connection.connected is true and
result.json.redis_connection.connected is true and
result.json is defined and
result.json.database_connection.connected and
result.json.redis_connection.connected and
result.json.online_workers | map(attribute='name') | select('match', '^resource-manager$') | list | count > 0 and
result.json.online_workers | map(attribute='name') | select('match', '^[0-9]+@.*$') | list | count > 0
delay: 6
Expand Down

0 comments on commit 3e5df43

Please sign in to comment.