Fixed linting issues causing GitHub action failures #244
Annotations
2 errors and 9 warnings
windows/create_ad_domain.yml#L26
Tasks that run when changed should likely be handlers.
|
|
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']) }}
|
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']) }}
|
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 }}
|
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}})] }}
|
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']) }}
|
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']) }}
|
openshift/cnv/delete.yml#L33
Jinja2 spacing could be improved: {{ os_version |default('rhel9') }} -> {{ os_version | default('rhel9') }}
|
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) }}
|
|
This job failed
Loading