Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration of spotter #99

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

integration of spotter #99

wants to merge 15 commits into from

Conversation

beechesII
Copy link
Contributor

@beechesII beechesII commented Dec 11, 2024

Trigger a spotter scan in our Gitlab instance: https://github.com/telekom-mms/ansible-collection-icinga/actions/runs/12275089206/job/34249413707

Other pipeline errors will be fixed in a other branch.

@beechesII beechesII requested a review from a team as a code owner December 11, 2024 10:45
@beechesII beechesII marked this pull request as draft December 11, 2024 10:47
@beechesII beechesII marked this pull request as ready for review December 11, 2024 11:11
@beechesII beechesII marked this pull request as draft December 11, 2024 12:44
@beechesII
Copy link
Contributor Author

Check results:
playbooks/check_azure_oauth_token.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_command' instead of 'telekom_mms.icinga_director.icinga_command'.
playbooks/check_azure_oauth_token.yml:38:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/check_gitlab_scheduler.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_command' instead of 'telekom_mms.icinga_director.icinga_command'.
playbooks/check_gitlab_scheduler.yml:30:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/check_https.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/check_https.yml:28:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/check_json.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_command' instead of 'telekom_mms.icinga_director.icinga_command'.
playbooks/check_json_azure_restapi.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_command' instead of 'telekom_mms.icinga_director.icinga_command'.
playbooks/check_json_azure_restapi_resourcehealth.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/mms_standard.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_timeperiod' instead of 'telekom_mms.icinga_director.icinga_timeperiod'.
playbooks/mms_standard.yml:25:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_service_template' instead of 'telekom_mms.icinga_director.icinga_service_template'.
playbooks/template_empty_host.yml:12:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'icinga_host_template' instead of 'telekom_mms.icinga_director.icinga_host_template'.
roles/icinga_agent/handlers/main.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'service' instead of 'ansible.builtin.service'.
roles/icinga_agent/molecule/default/prepare.yml:5:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_agent/molecule/default/prepare.yml:11:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'rpm_key' instead of 'ansible.builtin.rpm_key'.
roles/icinga_agent/molecule/default/prepare.yml:17:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_agent/molecule/default/prepare.yml:23:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:23:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:30:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_key' instead of 'ansible.builtin.apt_key'.
roles/icinga_agent/molecule/default/prepare.yml:36:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_agent/molecule/default/prepare.yml:48:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_agent/molecule/default/prepare.yml:60:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_agent/molecule/default/prepare.yml:72:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:72:7: HINT: [H004] Parameter 'pkg' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:79:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:79:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/verify.yml:5:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/molecule/default/verify.yml:5:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:11:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:20:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:29:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/molecule/default/verify.yml:29:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:35:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:44:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:53:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/molecule/default/verify.yml:53:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:59:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:68:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:77:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/molecule/default/verify.yml:77:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:83:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:92:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_agent/molecule/default/verify.yml:101:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_agent/tasks/main.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_agent/tasks/main.yml:9:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:19:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:30:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'template' instead of 'ansible.builtin.template'.
roles/icinga_agent/tasks/main.yml:42:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'template' instead of 'ansible.builtin.template'.
roles/icinga_agent/tasks/main.yml:54:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'template' instead of 'ansible.builtin.template'.
roles/icinga_agent/tasks/main.yml:69:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:69:3: HINT: [H004] Parameter 'dest' is an alias for parameter 'path' in module 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:69:3: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/tasks/main.yml:86:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:94:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'command' instead of 'ansible.builtin.command'.
roles/icinga_agent/tasks/main.yml:94:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:103:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'command' instead of 'ansible.builtin.command'.
roles/icinga_agent/tasks/main.yml:103:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:111:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'command' instead of 'ansible.builtin.command'.
roles/icinga_agent/tasks/main.yml:111:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:120:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'command' instead of 'ansible.builtin.command'.
roles/icinga_agent/tasks/main.yml:120:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:132:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'service' instead of 'ansible.builtin.service'.
roles/icinga_downtime/tasks/add_downtimes.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'uri' instead of 'ansible.builtin.uri'.
roles/icinga_downtime/tasks/add_downtimes.yml:28:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'uri' instead of 'ansible.builtin.uri'.
roles/icinga_downtime/tasks/add_downtimes.yml:56:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'uri' instead of 'ansible.builtin.uri'.
roles/icinga_downtime/tasks/main.yml:2:3: ERROR: [E2709] Required parameter '_input' for collection filter 'community.general.to_time_unit' in expression '{{ ((duration + duration_unit) | community.general.to_time_unit('seconds') | int) + ansible_date_time.epoch | int }}' is missing.
roles/icinga_downtime/tasks/main.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_downtime/tasks/main.yml:12:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_downtime/tasks/main.yml:18:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_downtime/tasks/main.yml:24:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'include_tasks' instead of 'ansible.builtin.include_tasks'.
roles/icinga_downtime/tasks/main.yml:30:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'include_tasks' instead of 'ansible.builtin.include_tasks'.
roles/icinga_downtime/tasks/main.yml:36:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'include_tasks' instead of 'ansible.builtin.include_tasks'.
roles/icinga_downtime/tasks/remove_all_downtimes.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'uri' instead of 'ansible.builtin.uri'.
roles/icinga_downtime/tasks/remove_downtimes.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'uri' instead of 'ansible.builtin.uri'.
roles/icinga_plugins/molecule/default/converge.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.
roles/icinga_plugins/molecule/default/converge.yml:11:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_plugins/molecule/default/converge.yml:19:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_plugins/molecule/default/converge.yml:25:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'group' instead of 'ansible.builtin.group'.
roles/icinga_plugins/molecule/default/converge.yml:31:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'user' instead of 'ansible.builtin.user'.
roles/icinga_plugins/molecule/default/prepare.yml:5:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_plugins/molecule/default/prepare.yml:11:7: ERROR: [E001] 'update_cache' is not a valid parameter in module 'ansible.builtin.package'.
roles/icinga_plugins/molecule/default/prepare.yml:11:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_plugins/molecule/default/prepare.yml:17:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'rpm_key' instead of 'ansible.builtin.rpm_key'.
roles/icinga_plugins/molecule/default/prepare.yml:23:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_plugins/molecule/default/prepare.yml:31:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_plugins/molecule/default/prepare.yml:39:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:39:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:46:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_key' instead of 'ansible.builtin.apt_key'.
roles/icinga_plugins/molecule/default/prepare.yml:52:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_plugins/molecule/default/prepare.yml:64:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_plugins/molecule/default/prepare.yml:76:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt_repository' instead of 'ansible.builtin.apt_repository'.
roles/icinga_plugins/molecule/default/prepare.yml:88:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:88:7: HINT: [H004] Parameter 'pkg' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:95:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'apt' instead of 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:95:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/verify.yml:5:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_plugins/molecule/default/verify.yml:13:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'set_fact' instead of 'ansible.builtin.set_fact'.
roles/icinga_plugins/molecule/default/verify.yml:19:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'include_vars' instead of 'ansible.builtin.include_vars'.
roles/icinga_plugins/molecule/default/verify.yml:23:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_plugins/molecule/default/verify.yml:30:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/molecule/default/verify.yml:38:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'find' instead of 'ansible.builtin.find'.
roles/icinga_plugins/molecule/default/verify.yml:46:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/molecule/default/verify.yml:54:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/molecule/default/verify.yml:62:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_plugins/molecule/default/verify.yml:70:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/molecule/default/verify.yml:77:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
roles/icinga_plugins/molecule/default/verify.yml:84:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/molecule/default/verify.yml:94:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
roles/icinga_plugins/tasks/main.yml:2:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_plugins/tasks/main.yml:14:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
roles/icinga_plugins/tasks/main.yml:29:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'package' instead of 'ansible.builtin.package'.
roles/icinga_plugins/tasks/main.yml:39:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'copy' instead of 'ansible.builtin.copy'.
roles/icinga_plugins/tasks/main.yml:39:3: HINT: [H805] For module 'ansible.builtin.copy', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_plugins/tasks/main.yml:49:3: ERROR: [E1902] Collection 'community.general' version '10.1.0' from requirements.yml does not exist in our records.
roles/icinga_plugins/tasks/main.yml:49:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'git_config' instead of 'community.general.git_config'.
roles/icinga_plugins/tasks/main.yml:56:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'git' instead of 'ansible.builtin.git'.
roles/icinga_plugins/tasks/main.yml:68:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'find' instead of 'ansible.builtin.find'.
roles/icinga_plugins/tasks/main.yml:76:3: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
tests/integration/targets/icinga/icinga_agent.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.
tests/integration/targets/icinga/icinga_agent.yml:22:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
tests/integration/targets/icinga/icinga_agent.yml:22:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:27:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_agent.yml:34:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
tests/integration/targets/icinga/icinga_agent.yml:34:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:39:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_agent.yml:46:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
tests/integration/targets/icinga/icinga_agent.yml:46:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:51:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_agent.yml:58:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'file' instead of 'ansible.builtin.file'.
tests/integration/targets/icinga/icinga_agent.yml:58:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:63:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_agent.yml:70:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
tests/integration/targets/icinga/icinga_agent.yml:77:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'command' instead of 'ansible.builtin.command'.
tests/integration/targets/icinga/icinga_agent.yml:77:7: HINT: [H1001] (rewritable) Inline passing of parameters is not good practice.
tests/integration/targets/icinga/icinga_agent.yml:84:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_agent.yml:90:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_plugins.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.
tests/integration/targets/icinga/icinga_plugins.yml:8:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'yum' instead of 'ansible.builtin.yum'.
tests/integration/targets/icinga/icinga_plugins.yml:15:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.
tests/integration/targets/icinga/icinga_plugins.yml:21:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'find' instead of 'ansible.builtin.find'.
tests/integration/targets/icinga/icinga_plugins.yml:28:7: WARNING: [W905] If you support Ansible 2.9 or lower, fully-qualified module names will not work. Use a non-fully-qualified name, such as 'assert' instead of 'ansible.builtin.assert'.

Scan summary:
Spotter took 1.199 s to scan your input. 39 file(s) scanned, 0 path(s) skipped.
It resulted in 3 error(s), 113 warning(s) and 25 hint(s).
Can rewrite 1 file(s) with 1 change(s).
Overall status: ERROR

@beechesII
Copy link
Contributor Author

beechesII commented Dec 12, 2024

Spotter scan

Check results:

roles/icinga_agent/molecule/default/prepare.yml:23:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:72:7: HINT: [H004] Parameter 'pkg' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/prepare.yml:79:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_agent/molecule/default/verify.yml:5:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:29:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:53:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/molecule/default/verify.yml:77:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/tasks/main.yml:69:3: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_agent/tasks/main.yml:69:3: HINT: [H004] Parameter 'dest' is an alias for parameter 'path' in module 'ansible.builtin.file'.
roles/icinga_agent/tasks/main.yml:94:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:103:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:111:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_agent/tasks/main.yml:120:7: HINT: [H1003] Inline parameter used in module 'ansible.builtin.command' also uses Jinja expression. Will not be checked further.
roles/icinga_downtime/tasks/main.yml:2:3: ERROR: [E2709] Required parameter '_input' for collection filter 'community.general.to_time_unit' in expression '{{ ((duration + duration_unit) | community.general.to_time_unit('seconds') | int) + ansible_date_time.epoch | int }}' is missing.
roles/icinga_plugins/molecule/default/converge.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.
roles/icinga_plugins/molecule/default/prepare.yml:11:7: ERROR: [E001] 'update_cache' is not a valid parameter in module 'ansible.builtin.package'.
roles/icinga_plugins/molecule/default/prepare.yml:39:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:88:7: HINT: [H004] Parameter 'pkg' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/molecule/default/prepare.yml:95:7: HINT: [H004] Parameter 'name' is an alias for parameter 'package' in module 'ansible.builtin.apt'.
roles/icinga_plugins/tasks/main.yml:39:3: HINT: [H805] For module 'ansible.builtin.copy', consider explicitly using the 'mode' parameter as a best practice.
roles/icinga_plugins/tasks/main.yml:49:3: ERROR: [E1902] Collection 'community.general' version '10.1.0' from requirements.yml does not exist in our records.
tests/integration/targets/icinga/icinga_agent.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.
tests/integration/targets/icinga/icinga_agent.yml:22:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:34:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:46:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:58:7: HINT: [H805] For module 'ansible.builtin.file', consider explicitly using the 'mode' parameter as a best practice.
tests/integration/targets/icinga/icinga_agent.yml:77:7: HINT: [H1001] (rewritable) Inline passing of parameters is not good practice.
tests/integration/targets/icinga/icinga_plugins.yml:2:3: HINT: [H3100] Use either the tasks or roles section in plays and not both. The order of execution between roles and tasks is not obvious, so mixing them should be avoided.

Scan summary:
Spotter took 1.064 s to scan your input. 39 file(s) scanned, 0 path(s) skipped.
It resulted in 3 error(s), 0 warning(s) and 25 hint(s).
Can rewrite 1 file(s) with 1 change(s).
Overall status: ERROR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant