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

fix: proper path to zabbix and proper state for removal of host groups #3

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/data_collection/tasks/host_groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
ansible_httpapi_port: 443
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_zabbix_url_path: ''
ansible_host: '{{ zabbix_api_server_url }}'
community.zabbix.zabbix_group:
state: present
Expand Down Expand Up @@ -48,9 +49,10 @@
ansible_httpapi_port: 443
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_zabbix_url_path: ''
ansible_host: '{{ zabbix_api_server_url }}'
community.zabbix.zabbix_group:
state: present
state: absent
host_groups:
# please keep these alpha sorted in here
- Applications
Expand Down