Skip to content

this seemingly works #185

this seemingly works

this seemingly works #185

Triggered via push October 21, 2024 21:36
Status Failure
Total duration 2m 27s
Artifacts

pre-commit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 warnings
yaml[comments-indentation]: execution_environments/apd-ee-25.yml#L58
Comment not indented like content
ignore-errors: network/report.yml#L23
Use failed_when and specify error conditions instead of using ignore_errors.
pre-commit
Process completed with exit code 1.
jinja[spacing]: collections/ansible_collections/demo/openshift/roles/snapshot/tasks/main.yml#L6
Jinja2 spacing could be improved: About to {{ snapshot_operation }} snapshot(s) for the following hosts: {{ lookup('ansible.builtin.inventory_hostnames', snapshot_hosts) | split(',') | difference(['localhost'])}} -> About to {{ snapshot_operation }} snapshot(s) for the following hosts: {{ lookup('ansible.builtin.inventory_hostnames', snapshot_hosts) | split(',') | difference(['localhost']) }}
jinja[spacing]: collections/ansible_collections/demo/openshift/roles/snapshot/tasks/main.yml#L9
Jinja2 spacing could be improved: {{ lookup('ansible.builtin.inventory_hostnames', snapshot_hosts) | regex_replace(vm_namespace+'-', '') | split(',') | difference(['localhost']) }} -> {{ lookup('ansible.builtin.inventory_hostnames', snapshot_hosts) | regex_replace(vm_namespace + '-', '') | split(',') | difference(['localhost']) }}
jinja[spacing]: collections/ansible_collections/demo/openshift/roles/snapshot/tasks/restore.yml#L17
Jinja2 spacing could be improved: {{ snapshot.resources|selectattr('spec.source.name', 'equalto', item)|sort(attribute='metadata.creationTimestamp')|first}} -> {{ snapshot.resources | selectattr('spec.source.name', 'equalto', item) | sort(attribute='metadata.creationTimestamp') | first }}
jinja[spacing]: multi_select_setup.yml#L12
Jinja2 spacing could be improved: {{ (controller_launch_jobs | d([])) + \[launch_jobs | combine( {'extra_vars': { 'demo': item }})] }} -> {{ (controller_launch_jobs | d([])) + \[launch_jobs | combine({'extra_vars': {'demo': item}})] }}
jinja[spacing]: openshift/cnv/delete.yml#L7
Jinja2 spacing could be improved: Setting the following hosts to {{ instance_state }} {{ lookup('ansible.builtin.inventory_hostnames', vm_host_string) | split(',') | difference(['localhost'])}} -> Setting the following hosts to {{ instance_state }} {{ lookup('ansible.builtin.inventory_hostnames', vm_host_string) | split(',') | difference(['localhost']) }}
jinja[spacing]: openshift/cnv/delete.yml#L10
Jinja2 spacing could be improved: {{ lookup('ansible.builtin.inventory_hostnames', vm_host_string) | regex_replace(vm_namespace+'-', '') | split(',') | difference(['localhost']) }} -> {{ lookup('ansible.builtin.inventory_hostnames', vm_host_string) | regex_replace(vm_namespace + '-', '') | split(',') | difference(['localhost']) }}
jinja[spacing]: openshift/cnv/delete.yml#L33
Jinja2 spacing could be improved: {{ os_version |default('rhel9') }} -> {{ os_version | default('rhel9') }}
jinja[spacing]: openshift/cnv/wait.yml#L8
Jinja2 spacing could be improved: {{ (ansible_ssh_host|default(ansible_host))|default(inventory_hostname) }} -> {{ (ansible_ssh_host | default(ansible_host)) | default(inventory_hostname) }}
pre-commit
The `python-version` input is not set. The version of Python currently in `PATH` will be used.