예제 #1
0
def _instance(patched_config_validate, config_instance):
    return ansible_lint.AnsibleLint(config_instance)
예제 #2
0
 def lint(self):
     lint_name = self._config.config['provisioner']['lint']['name']
     if lint_name == 'ansible-lint':
         return ansible_lint.AnsibleLint(self._config)
예제 #3
0
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)
예제 #4
0
 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)