Allow concurrent runs for state single

This commit is contained in:
Nasenbaer 2016-06-07 10:41:10 +02:00
parent 4c1ca31d52
commit bab9cfa19e

View File

@ -159,7 +159,7 @@ def _check_queue(queue, kwargs):
if queue:
_wait(kwargs.get('__pub_jid'))
else:
conflict = running()
conflict = running(concurrent=kwargs.get('concurrent', False))
if conflict:
__context__['retcode'] = 1
return conflict