Run molecule tests on the role #18
Annotations
3 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Run ansible-lint:
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 -%}
|
Loading