Skip to content

Conversation

@manuello1996
Copy link
Contributor

SUMMARY

Features to list all Host and template group

issue #882

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • zabbix_template_info.py
  • zabbix_group_info.py
ADDITIONAL INFORMATION

@codecov
Copy link

codecov bot commented Jun 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.71%. Comparing base (f9fc323) to head (5dcc97f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1564      +/-   ##
==========================================
- Coverage   78.73%   78.71%   -0.03%     
==========================================
  Files          48       48              
  Lines        6152     6173      +21     
  Branches     1605     1611       +6     
==========================================
+ Hits         4844     4859      +15     
- Misses        797      799       +2     
- Partials      511      515       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@manuello1996
Copy link
Contributor Author

manuello1996 commented Jun 15, 2025

Hello,

I can not get the Sanity task to successfully run. Can somebady give me a Hit what it can be?
Otherwise the features test run smoothly

edit: and a strange integration fail for test_zabbix_maintenance that i did not touched

@manuello1996 manuello1996 changed the title add features for issue 882 Features: List all host and template groups via module Jun 15, 2025
Comment on lines 123 to 136
- name: Get info about all templategroups
# set task level variables as we change ansible_connection plugin here
vars:
ansible_network_os: community.zabbix.zabbix
ansible_connection: httpapi
ansible_httpapi_port: 443
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_zabbix_url_path: "zabbixeu" # If Zabbix WebUI runs on non-default (zabbix) path ,e.g. http://<FQDN>/zabbixeu
ansible_host: zabbix-example-fqdn.org
community.zabbix.zabbix_template_info:
all_templategroups: true
register: all_templategroups
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not indented correctly.

@pyrodie18 pyrodie18 merged commit 7b9648c into ansible-collections:main Jun 23, 2025
53 of 54 checks passed
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.

3 participants