Run molecule tests on the role #20
Annotations
5 warnings
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
jinja[spacing]:
tasks/phpversion.yaml#L12
Jinja2 spacing could be improved: {%- if ansible_os_family == 'Debian' -%} apt-cache search --names-only "^php[0-9].[0-9]$" | grep -o '[0-9]\.[0-9]' {%- elif ansible_os_family == 'FreeBSD' -%} # PHP is already installed on the Proserver hosts, no need to query the packages php -r 'echo phpversion();' | grep -o '[0-9]\.[0-9]' | head -n1 {%- else -%} echo "Unsupported OS" && exit 1 {%- endif -%} -> {%- if ansible_os_family == 'Debian' -%} apt-cache search --names-only "^php[0-9].[0-9]$" | grep -o '[0-9]\.[0-9]'{%- elif ansible_os_family == 'FreeBSD' -%} # PHP is already installed on the Proserver hosts, no need to query the packages php -r 'echo phpversion();' | grep -o '[0-9]\.[0-9]' | head -n1{%- else -%} echo "Unsupported OS" && exit 1{%- endif -%}
|
molecule
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
molecule
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|