mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Minor pep8 cleanup and CHANGELOG update for do-until
This commit is contained in:
parent
202c4f5294
commit
994dfb84fc
2 changed files with 3 additions and 2 deletions
|
@ -675,11 +675,11 @@ class Runner(object):
|
|||
result.result['attempts'] = x
|
||||
vv("Result from run %i is: %s" % (x, result.result))
|
||||
if not result.comm_ok:
|
||||
break;
|
||||
break
|
||||
inject[self.module_vars.get('register')] = result.result
|
||||
cond = template.template(self.basedir, until, inject, expand_lists=False)
|
||||
if utils.check_conditional(cond, self.basedir, inject, fail_on_undefined=self.error_on_undefined_vars):
|
||||
break;
|
||||
break
|
||||
else:
|
||||
result.result['attempts'] = 0
|
||||
conn.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue