Skip to content

set vars in vars file #20

set vars in vars file

set vars in vars file #20

Triggered via pull request October 14, 2024 03:20
Status Failure
Total duration 1m 41s
Artifacts

ci.yml

on: pull_request
Ansible Lint
17s
Ansible Lint
Matrix: molecule-mac
Matrix: Molecule
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
no-changed-when: tasks/main.yml#L17
Commands should not change things if nothing needs doing.
macos-14-arm
Process completed with exit code 1.
macos-13-intel
The job was canceled because "macos-14" failed.
macos-13-intel
The operation was canceled.
Molecule (ubuntu2404)
Process completed with exit code 1.
Molecule (ubuntu2004)
The job was canceled because "ubuntu2404" failed.
Molecule (ubuntu2004)
Process completed with exit code 1.
Molecule (rockylinux9)
The job was canceled because "ubuntu2404" failed.
Molecule (rockylinux9)
Process completed with exit code 1.
Molecule (debian11)
The job was canceled because "ubuntu2404" failed.
Molecule (debian11)
Process completed with exit code 1.
Molecule (ubuntu2204)
The job was canceled because "ubuntu2404" failed.
Molecule (ubuntu2204)
The operation was canceled.
Molecule (debian12)
The job was canceled because "ubuntu2404" failed.
Molecule (debian12)
The operation was canceled.
jinja[spacing]: vars/main.yml#L19
Jinja2 spacing could be improved: {%- if ansible_facts['system'] == 'Linux' and not install_jdk_in_user_dir_on_linux -%} /opt {%- else -%} {{ ansible_facts['user_dir'] }} {%- endif %} -> {%- if ansible_facts['system'] == 'Linux' and not install_jdk_in_user_dir_on_linux -%} /opt{%- else -%} {{ ansible_facts['user_dir'] }}{%- endif %}
jinja[spacing]: vars/main.yml#L26
Jinja2 spacing could be improved: {% set jdk_directory = 'jdk-' + jdk_version -%} {%- if ansible_facts['system'] == 'Darwin' -%} {{ \[jdk_dest, jdk_directory + '.jdk'] | path_join }} {%- else -%} {{ \[jdk_dest, jdk_directory] | path_join }} {%- endif %} -> {% set jdk_directory = 'jdk-' + jdk_version -%} {%- if ansible_facts['system'] == 'Darwin' -%} {{ \[jdk_dest, jdk_directory + '.jdk'] | path_join }}{%- else -%} {{ \[jdk_dest, jdk_directory] | path_join }}{%- endif %}