def _instance(patched_config_validate, config_instance): return ansible_lint.AnsibleLint(config_instance)
def lint(self): lint_name = self._config.config['provisioner']['lint']['name'] if lint_name == 'ansible-lint': return ansible_lint.AnsibleLint(self._config)
def ansible_lint_instance(molecule_provisioner_lint_section_data, config_instance): config_instance.merge_dicts(config_instance.config, molecule_provisioner_lint_section_data) return ansible_lint.AnsibleLint(config_instance)
def lint(self): lint_name = self._config.config['provisioner']['lint']['name'] if lint_name == 'ansible-lint': return ansible_lint.AnsibleLint(self._config) else: util.exit_with_invalid_section('lint', lint_name)