pre-commit tests #119
Annotations
8 errors and 10 warnings
Run pre-commit/[email protected]:
roles/filetree_create/meta/main.yml#L50
the role 'infra.aap_configuration.meta_dependency_check' was not found in ansible.legacy:/tmp/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/tmp
|
Run pre-commit/[email protected]:
roles/filetree_read/meta/main.yml#L47
the role 'infra.aap_configuration.meta_dependency_check' was not found in ansible.legacy:/tmp/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/tmp
|
Run pre-commit/[email protected]:
roles/filetree_read/tests/config-controller-filetree.yml#L37
the role 'infra.aap_configuration.dispatch' was not found in /home/runner/work/aap_configuration_extended/aap_configuration_extended/roles/filetree_read/tests/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles/filetree_read/tests
|
Run pre-commit/[email protected]:
roles/object_diff/meta/main.yml#L47
the role 'infra.aap_configuration.meta_dependency_check' was not found in ansible.legacy:/tmp/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/tmp
|
Run pre-commit/[email protected]:
roles/object_diff/tests/drop_diff.yml#L38
the role 'infra.aap_configuration.dispatch' was not found in /home/runner/work/aap_configuration_extended/aap_configuration_extended/roles/object_diff/tests/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles/object_diff/tests
|
Run pre-commit/[email protected]:
tests/playbooks/controller_rules_validation_filetree_read.yml#L6
the role 'infra.aap_controller_configuration_extended.filetree_read' was not found in /home/runner/work/aap_configuration_extended/aap_configuration_extended/tests/playbooks/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/tests/playbooks
|
Run pre-commit/[email protected]:
tests/playbooks/controller_rules_validation_include.yml#L10
the role 'infra.aap_controller_configuration_extended.aap_rules_validation' was not found in /home/runner/work/aap_configuration_extended/aap_configuration_extended/tests/playbooks/roles:/home/runner/.cache/ansible-compat/a20f28/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/aap_configuration_extended/aap_configuration_extended/tests/playbooks
|
Run pre-commit/[email protected]
Process completed with exit code 1.
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_credentials_encryption.yml#L36
Jinja2 spacing could be improved: {{ rules_violations_data + [{ 'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'encrypt_credentials_sensitive_data', 'object_type': 'credentials', 'object_scope': 'organizations', 'object_organization': __cred_org, 'object_name': __cred_name, 'msg': msg }] }} -> {{ rules_violations_data + [{'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'encrypt_credentials_sensitive_data', 'object_type': 'credentials', 'object_scope': 'organizations', 'object_organization': __cred_org, 'object_name': __cred_name, 'msg': msg}] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_fields_regex.yml#L8
Jinja2 spacing could be improved: {{ __regex_issue + ([{'field_regex':field_regex.key, 'regex_value':field_regex.value, 'object_type':object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(field_regex.key, 'defined') | rejectattr(field_regex.key, 'regex', field_regex.value))) }} -> {{ __regex_issue + ([{'field_regex': field_regex.key, 'regex_value': field_regex.value, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(field_regex.key, 'defined') | rejectattr(field_regex.key, 'regex', field_regex.value))) }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_fields_regex.yml#L15
Jinja2 spacing could be improved: {{ rules_violations_data + [{ 'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'fields_regex', 'object_type': object_type, 'object_scope': __scope\[object_type], 'object_organization': item[1]['organization'] | default('__undefined_org__'), 'object_name': __object_name, 'msg': msg }] }} -> {{ rules_violations_data + [{'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'fields_regex', 'object_type': object_type, 'object_scope': __scope\[object_type], 'object_organization': item[1]['organization'] | default('__undefined_org__'), 'object_name': __object_name, 'msg': msg}] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_fields_regex.yml#L15
Jinja2 spacing could be improved: {{ rules_violations_msgs + \[msg] }} -> {{ rules_violations_msgs + \[msg] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_hosts.yml#L19
Jinja2 spacing could be improved: {{ rules_violations_data + [{ 'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'allow_ungrouped_hosts', 'object_type': 'hosts', 'object_scope': 'global', 'object_organization': '__organizationless__', 'object_name': '__multiple_objects__', 'msg': msg }] }} -> {{ rules_violations_data + [{'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'allow_ungrouped_hosts', 'object_type': 'hosts', 'object_scope': 'global', 'object_organization': '__organizationless__', 'object_name': '__multiple_objects__', 'msg': msg}] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_inventories.yml#L4
Jinja2 spacing could be improved: {{ rules_violations_data + [{ 'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'max_hosts_per_inventory', 'object_type': 'inventories', 'object_scope': 'organization', 'object_organization': __inventory_org, 'object_name': __inventory_name, 'msg': msg }] }} -> {{ rules_violations_data + [{'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'max_hosts_per_inventory', 'object_type': 'inventories', 'object_scope': 'organization', 'object_organization': __inventory_org, 'object_name': __inventory_name, 'msg': msg}] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_mandatory_fields.yml#L10
Jinja2 spacing could be improved: {{ __defined_none + [{'mandatory_field':mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'defined') | selectattr(mandatory_field, 'equalto', None)) }} -> {{ __defined_none + [{'mandatory_field': mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'defined') | selectattr(mandatory_field, 'equalto', None)) }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_mandatory_fields.yml#L17
Jinja2 spacing could be improved: {{ __defined_empty + [{'mandatory_field':mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'defined') | selectattr(mandatory_field, 'equalto', '')) }} -> {{ __defined_empty + [{'mandatory_field': mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'defined') | selectattr(mandatory_field, 'equalto', '')) }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_mandatory_fields.yml#L24
Jinja2 spacing could be improved: {{ rules_violations_data + [{ 'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'mandatory_fields', 'object_type': object_type, 'object_scope': __scope\[object_type], 'object_organization': __object_org, 'object_name': __object_name, 'msg': msg }] }} -> {{ rules_violations_data + [{'rule_id': rule_id, 'rule_index': rule_index, 'rule_broken': 'mandatory_fields', 'object_type': object_type, 'object_scope': __scope\[object_type], 'object_organization': __object_org, 'object_name': __object_name, 'msg': msg}] }}
|
Run pre-commit/[email protected]:
roles/aap_rules_validation/tasks/check_mandatory_fields.yml#L48
Jinja2 spacing could be improved: {{ __undefined + [{'mandatory_field':mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'undefined')) }} -> {{ __undefined + [{'mandatory_field': mandatory_field, 'object_type': object_type}] | product(lookup('vars', __object_var_names\[object_type]) | selectattr(mandatory_field, 'undefined')) }}
|
Loading