Browse Source

Expose limit hosts option to the validation run actions

Change-Id: Ib8fdcb2d224dca0b07d87c41b4998cd9159778af
changes/10/718610/1
Mathieu Bultel 2 years ago
parent
commit
88e0b0a212
  1. 4
      validations_libs/validation_actions.py

4
validations_libs/validation_actions.py

@ -61,7 +61,8 @@ class ValidationActions(object):
def run_validations(self, playbook=[], inventory='localhost',
group=None, extra_vars=None, validations_dir=None,
validation_name=None, extra_env_vars=None,
ansible_cfg=None, quiet=True, workdir=None):
ansible_cfg=None, quiet=True, workdir=None,
limit_hosts=None):
self.log = logging.getLogger(__name__ + ".run_validations")
@ -108,6 +109,7 @@ class ValidationActions(object):
output_callback='validation_json',
quiet=quiet,
extra_vars=extra_vars,
limit_hosts=limit_hosts,
extra_env_variables=extra_env_vars,
ansible_cfg=ansible_cfg,
gathering_policy='explicit',

Loading…
Cancel
Save