Declare playbooks for groups execution
When running group validation, the playbooks list is not set before so we need to fix that. Change-Id: I964508a955783b5600618d4854efe67ff06298cb
This commit is contained in:
parent
9158eb5b2b
commit
f3c29b6e56
|
@ -64,7 +64,7 @@ class ValidationActions(object):
|
|||
ansible_cfg=None, quiet=True, workdir=None):
|
||||
|
||||
self.log = logging.getLogger(__name__ + ".run_validations")
|
||||
|
||||
playbooks = []
|
||||
if playbook:
|
||||
if isinstance(playbook, list):
|
||||
playbooks = playbook
|
||||
|
|
Loading…
Reference in New Issue