changed name of zabbix tag group

This commit is contained in:
2026-03-13 08:43:24 -04:00
parent a1b2b4dd8f
commit 4938f69fc1
3 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@@ -5,7 +5,7 @@ pipeline {
string(
name: 'LIMIT',
defaultValue: '',
description: 'Limit to specific hosts or groups (e.g., "vms", "lxcs", "zabbix", or hostname) no .lan required'
description: 'Limit to specific hosts or groups (e.g., "vms", "lxcs", "zabbix_targets", or hostname) no .lan required'
)
booleanParam(
name: 'DRY_RUN',
@@ -33,7 +33,7 @@ pipeline {
steps {
sh '''
echo "Testing dynamic inventory connection..."
ansible-inventory -i inventory/inventory.proxmox.yml --list | head -10
ansible-inventory -i inventory/inventory.proxmox.yml --graph zabbix_targets
'''
}
}

View File

@@ -19,7 +19,7 @@ groups:
update_targets: "'update' in (proxmox_tags | default([]))"
docker_hosts: "'docker' in (proxmox_tags | default([]))"
kubernetes: "'k8s' in (proxmox_tags | default([]))"
zabbix: "'zabbix' in (proxmox_tags | default([]))"
zabbix_targets: "'zabbix' in (proxmox_tags | default([]))"
compose:
ansible_host: name + '.lan'

View File

@@ -1,6 +1,6 @@
---
- name: Install Zabbix Agent2 on tagged Proxmox hosts
hosts: zabbix
hosts: zabbix_targets
become: true
gather_facts: true