Skip to content

Add ansible-lint CI #4030

Add ansible-lint CI

Add ansible-lint CI #4030

Triggered via pull request November 7, 2024 11:00
Status Cancelled
Total duration 2m 41s
Artifacts

stackhpc-pull-request.yml

on: pull_request
Check changed files
6s
Check changed files
Matrix: lint
Matrix: tox
Build Kayobe Image  /  Build kayobe image
2m 15s
Build Kayobe Image / Build kayobe image
Check container image tags  /  Check container image tags
Check container image tags / Check container image tags
aio (Rocky 9 OVN)  /  All in one
aio (Rocky 9 OVN) / All in one
aio (Rocky 9 OVS)  /  All in one
aio (Rocky 9 OVS) / All in one
aio (Ubuntu Jammy OVN)  /  All in one
aio (Ubuntu Jammy OVN) / All in one
aio (Ubuntu Jammy OVS)  /  All in one
aio (Ubuntu Jammy OVS) / All in one
aio upgrade (Rocky 9 OVN)  /  All in one
aio upgrade (Rocky 9 OVN) / All in one
aio upgrade (Ubuntu Jammy OVS)  /  All in one
aio upgrade (Ubuntu Jammy OVS) / All in one
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 18 warnings
yaml[comments]: etc/kayobe/ansible/advise-run.yml#L11
Too few spaces before comment
yaml[comments]: etc/kayobe/ansible/stackhpc-openstack-tests.yml#L35
Too few spaces before comment
role-name[path]: etc/kayobe/ansible/wazuh-agent.yml#L8
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-agent)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L40
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L51
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L52
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-manager)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L53
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-filebeat-oss)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L54
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-dashboard)
Ansible 2.16 lint with Python 3.12
Process completed with exit code 2.
yaml[comments]: etc/kayobe/ansible/advise-run.yml#L11
Too few spaces before comment
yaml[comments]: etc/kayobe/ansible/stackhpc-openstack-tests.yml#L35
Too few spaces before comment
role-name[path]: etc/kayobe/ansible/wazuh-agent.yml#L8
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-agent)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L40
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L51
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L52
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-manager)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L53
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-filebeat-oss)
role-name[path]: etc/kayobe/ansible/wazuh-manager.yml#L54
Avoid using paths when importing roles. (wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-dashboard)
Ansible 2.15 lint with Python 3.10
Process completed with exit code 2.
Build Kayobe Image / Build kayobe image
Canceling since a higher priority waiting request for 'stackhpc-pull-request-1368' exists
Build Kayobe Image / Build kayobe image
The operation was canceled.
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/
jinja[spacing]: etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
Jinja2 spacing could be improved: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') | first | split('=') | last | replace("'" , '') }} -> {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') | first | split('=') | last | replace("'", '') }}
command-instead-of-module: etc/kayobe/ansible/fix-houston.yml#L42
systemctl used in place of systemd module
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
syntax-check[unknown-module]: etc/kayobe/ansible/vault-deploy-barbican.yml#L31
couldn't resolve module/action 'ansible.builtin.hashivault_auth_method'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-backend-tls.yml#L45
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-internal-tls.yml#L14
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-test-external-tls.yml#L15
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.
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/
jinja[spacing]: etc/kayobe/ansible/deploy-os-capacity-exporter.yml#L34
Jinja2 spacing could be improved: {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') | first | split('=') | last | replace("'" , '') }} -> {{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') | first | split('=') | last | replace("'", '') }}
command-instead-of-module: etc/kayobe/ansible/fix-houston.yml#L42
systemctl used in place of systemd module
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
syntax-check[unknown-module]: etc/kayobe/ansible/vault-deploy-barbican.yml#L31
couldn't resolve module/action 'ansible.builtin.hashivault_auth_method'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-backend-tls.yml#L45
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-internal-tls.yml#L14
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.
syntax-check[unknown-module]: etc/kayobe/ansible/vault-generate-test-external-tls.yml#L15
couldn't resolve module/action 'ansible.builtin.hashivault_pki_cert_issue'. This often indicates a misspelling, missing collection, or incorrect module path.