Fix tests #108
pre-commit.yml
on: pull_request
Matrix: pre-commit_and_sanity / sanity / sanity
pre-commit_and_sanity
/
...
/
pre-commit
1m 13s
pre-commit_and_sanity
/
markdown-link-check
23s
pre-commit_and_sanity
/
...
/
build-import-collection
32s
pre-commit_and_sanity
/
all_green
1s
Annotations
10 errors and 10 warnings
pre-commit_and_sanity / sanity / ansible stable-2.16 sanity
Process completed with exit code 1.
|
syntax-check[specific]:
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
|
syntax-check[specific]:
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
|
syntax-check[specific]:
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
|
syntax-check[specific]:
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
|
syntax-check[specific]:
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
|
syntax-check[specific]:
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
|
pre-commit_and_sanity / pre-commit / pre-commit
Process completed with exit code 1.
|
pre-commit_and_sanity / sanity / ansible stable-2.15 sanity
Process completed with exit code 1.
|
pre-commit_and_sanity / all_green
Process completed with exit code 1.
|
jinja[spacing]:
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}] }}
|
jinja[spacing]:
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))) }}
|
jinja[spacing]:
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}] }}
|
jinja[spacing]:
roles/aap_rules_validation/tasks/check_fields_regex.yml#L15
Jinja2 spacing could be improved: {{ rules_violations_msgs + \[msg] }} -> {{ rules_violations_msgs + \[msg] }}
|
jinja[spacing]:
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}] }}
|
jinja[spacing]:
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}] }}
|
jinja[spacing]:
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)) }}
|
jinja[spacing]:
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', '')) }}
|
jinja[spacing]:
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}] }}
|
jinja[spacing]:
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')) }}
|