Zabbix-stg: add placeholder macro dict to the correct group_vars #2604

Merged
ryanlerch merged 1 commit from zabbix-stg into main 2025-05-02 09:04:24 +00:00
Contributor

Quick fix to #2603 - the empty dicts should in in "all", not in zabbix(_stg) because only the zabbix servers exist in those groups

Quick fix to #2603 - the empty dicts should in in "all", not in zabbix(_stg) because only the zabbix servers exist in those groups
First-time contributor
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/ca8cb9ec645841cd8b28743b2e72737d - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/bb08371994f743ada32c182462182a54) : SUCCESS in 2m 49s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/8f84df8192b54b52a405257fd3ccc5b7) : SUCCESS in 2m 09s
Author
Contributor

@kevin given this touches "group_vars/all" I'd like a +1 from you if possible, thanks!

@kevin given this touches "group_vars/all" I'd like a +1 from you if possible, thanks!
Author
Contributor

Merging this because it's going to cause "missing variable: zabbix_macros" on everything until we do.

Merging this because it's going to cause "missing variable: zabbix_macros" on everything until we do.
Author
Contributor

rebased onto e76ba9a025

rebased onto e76ba9a025768c2fb853307a2083f1e705c95385
Author
Contributor

rebased onto e76ba9a025

rebased onto e76ba9a025768c2fb853307a2083f1e705c95385
First-time contributor
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/7751074b1a9d4b3790c3fda10ad78d9b - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/5d966ae9fec148c1ab0e286e2ca08730) : SUCCESS in 2m 30s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/ac4007b1e3134be1a60f1b9851715473) : SUCCESS in 2m 44s
Author
Contributor

Pull-Request has been merged by gwmngilfen

Pull-Request has been merged by gwmngilfen
Author
Contributor

Looks OK:

Before:

TASK [zabbix/zabbix_agent : Set Host-level macros] **********************************************************************************************************
Friday 02 May 2025  09:03:57 +0000 (0:00:00.242)       0:00:02.628 ************ 
Friday 02 May 2025  09:03:57 +0000 (0:00:00.242)       0:00:02.627 ************ 
fatal: [proxy02.stg.iad2.fedoraproject.org]: FAILED! => {"msg": "'zabbix_macros' is undefined. 'zabbix_macros' is undefined"}

After:

TASK [zabbix/zabbix_agent : Set Host-level macros] **********************************************************************************************************
Friday 02 May 2025  09:09:23 +0000 (0:00:00.228)       0:00:02.560 ************ 
Friday 02 May 2025  09:09:23 +0000 (0:00:00.228)       0:00:02.560 ************ 
skipping: [proxy02.stg.iad2.fedoraproject.org]
Looks OK: Before: ``` TASK [zabbix/zabbix_agent : Set Host-level macros] ********************************************************************************************************** Friday 02 May 2025 09:03:57 +0000 (0:00:00.242) 0:00:02.628 ************ Friday 02 May 2025 09:03:57 +0000 (0:00:00.242) 0:00:02.627 ************ fatal: [proxy02.stg.iad2.fedoraproject.org]: FAILED! => {"msg": "'zabbix_macros' is undefined. 'zabbix_macros' is undefined"} ``` After: ``` TASK [zabbix/zabbix_agent : Set Host-level macros] ********************************************************************************************************** Friday 02 May 2025 09:09:23 +0000 (0:00:00.228) 0:00:02.560 ************ Friday 02 May 2025 09:09:23 +0000 (0:00:00.228) 0:00:02.560 ************ skipping: [proxy02.stg.iad2.fedoraproject.org] ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Infrastructure/ansible#2604
No description provided.