1

There are 1 best solutions below

1
On BEST ANSWER

The Ansible module is here: https://github.com/ansible-collections/community.zabbix

example:

- name: Create a named maintenance window for host www1 for 90 minutes
  community.zabbix.zabbix_maintenance:
    name: Update of www1
    host_name: www1.example.com
    state: present
    minutes: 90
    server_url: https://...
    login_user: ...
    login_password: ...