Skip to content

Commit

Permalink
feat: remove built-in host groups (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Jan 15, 2024
1 parent 6402af4 commit 954fc4a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion roles/data_collection/tasks/host_groups.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: 'RaBe Zabbix Data Collection : Host Group'
- name: 'RaBe Zabbix Data Collection : Add Host Groups'
vars:
ansible_network_os: community.zabbix.zabbix
ansible_connection: httpapi
Expand Down Expand Up @@ -40,3 +40,23 @@
- 'RaBe: Virtual Machines - P1'
- 'RaBe: Virtual Machines - P3'
- 'RaBe: Websites and Webservices - P1'

- name: 'RaBe Zabbix Data Collection : Remove Host Groups'
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_host: '{{ zabbix_api_server_url }}'
community.zabbix.zabbix_group:
state: present
host_groups:
# please keep these alpha sorted in here
- Applications
- Databases
- Discovered hosts
- Hypervisors
- Linux servers
- Virtual machines
- Zabbix servers

0 comments on commit 954fc4a

Please sign in to comment.