Browse Source

Merge "Refetch task"

changes/05/744405/1
Zuul 3 days ago
committed by Gerrit Code Review
parent
commit
9f9cc8a651
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      tripleo_ansible/ansible_plugins/strategy/tripleo_free.py

+ 2
- 4
tripleo_ansible/ansible_plugins/strategy/tripleo_free.py View File

@@ -179,10 +179,8 @@ class StrategyModule(BASE.TripleoBase):
# that have tasks in queue
self._blocked_hosts[host_name] = True

# we already have the task and state from our peek call so we don't
# need these again. This call just pops it of the task list for the
# host.
(_, _) = self._iterator.get_next_task_for_host(host)
# Refetch the task without peek
(_, task) = self._iterator.get_next_task_for_host(host)
action = self._get_action(task)

try:


Loading…
Cancel
Save