Add ansible-lint CI #4067
stackhpc-pull-request.yml
on: pull_request
Matrix: lint
Matrix: tox
Check container image tags
/
Check container image tags
aio (Rocky 9 OVN)
/
All in one
aio (Rocky 9 OVS)
/
All in one
aio (Ubuntu Jammy OVN)
/
All in one
aio (Ubuntu Jammy OVS)
/
All in one
aio upgrade (Rocky 9 OVN)
/
All in one
aio upgrade (Ubuntu Jammy OVS)
/
All in one
Annotations
15 errors and 22 warnings
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_AUTH_URL*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PASSWORD*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_REGION_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_USERNAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
Ansible 2.16 lint with Python 3.12
Process completed with exit code 2.
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_AUTH_URL*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PASSWORD*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_REGION_NAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
jinja[invalid]:
etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
template error while templating string: expected token 'end of print statement', got 'first'. String: {{ credential.stdout_lines | select('match', '.*OS_USERNAME*.') first | split('=') | last | replace("'", '') }}. expected token 'end of print statement', got 'first'
|
Ansible 2.15 lint with Python 3.10
Process completed with exit code 2.
|
Build Kayobe Image / Build kayobe image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c sudo cp -rfp /src /tmp/ && sudo chown -Rf stack:stack /tmp/src && grep -lR \"\\$ANSIBLE_VAULT\" /tmp/src | xargs rm -f && bash /tmp/src/.automation/utils/kayobe-automation-install && (rm -f /stack/.ssh/{id_rsa,id_rsa.pub} || true) && (mkdir /stack/.ansible || true) && (cp -rfp /stack/kayobe-automation-env/src/kayobe-config/etc/kayobe/ansible/roles /stack/.ansible/kayobe-automation-roles || true) && (cp -rfp /stack/kayobe-automation-env/src/kayobe-config/etc/kayobe/ansible/collections /stack/.ansible/kayobe-automation-collections || true) && rm -rf /stack/kayobe-automation-env/src/kayobe-config" did not complete successfully: exit code: 1
|
Ansible 2.16 lint with Python 3.12
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
command-instead-of-module:
etc/kayobe/ansible/rabbitmq-reset.yml#L33
systemctl used in place of systemd module
|
syntax-check[missing-file]:
etc/kayobe/ansible/ubuntu-upgrade.yml#L1
Unable to retrieve file contents
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L32
Use FQCN for builtin module actions (hashivault_auth_method).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L40
Use FQCN for builtin module actions (hashivault_secret_engine).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L49
Use FQCN for builtin module actions (hashivault_policy).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L61
Use FQCN for builtin module actions (hashivault_approle_role).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L72
Use FQCN for builtin module actions (hashivault_approle_role_id).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L91
Use FQCN for builtin module actions (hashivault_approle_role_secret_get).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L100
Use FQCN for builtin module actions (hashivault_approle_role_secret).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-generate-backend-tls.yml#L45
Use FQCN for builtin module actions (hashivault_pki_cert_issue).
|
Ansible 2.15 lint with Python 3.10
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
command-instead-of-module:
etc/kayobe/ansible/rabbitmq-reset.yml#L33
systemctl used in place of systemd module
|
syntax-check[missing-file]:
etc/kayobe/ansible/ubuntu-upgrade.yml#L1
Unable to retrieve file contents
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L32
Use FQCN for builtin module actions (hashivault_auth_method).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L40
Use FQCN for builtin module actions (hashivault_secret_engine).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L49
Use FQCN for builtin module actions (hashivault_policy).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L61
Use FQCN for builtin module actions (hashivault_approle_role).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L72
Use FQCN for builtin module actions (hashivault_approle_role_id).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L91
Use FQCN for builtin module actions (hashivault_approle_role_secret_get).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-deploy-barbican.yml#L100
Use FQCN for builtin module actions (hashivault_approle_role_secret).
|
fqcn[action-core]:
etc/kayobe/ansible/vault-generate-backend-tls.yml#L45
Use FQCN for builtin module actions (hashivault_pki_cert_issue).
|