ansible-collection-checkmk.general
ansible-collection-checkmk.general copied to clipboard
Feature service groups
Additional plugin that manages service groups.
Pull request type
Please check the type of change your PR introduces:
- [ ] Bugfix
- [X] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
What is the current behavior?
Issue Number: e.g. #1
What is the new behavior?
- manage service groups in Checkmk (create/modify/delete)
- bulk and single mode for contact group management
Other information
- name: "Create a single service group."
tribe29.checkmk.service_group:
server_url: "http://localhost/"
site: "my_site"
automation_user: "automation"
automation_secret: "$SECRET"
service_group_name: "my_service_group"
title: "My Service Group"
state: "present"
delegate_to: localhost
- name: "Create service groups."
tribe29.checkmk.service_group:
server_url: "http://localhost/"
site: "my_site"
automation_user: "automation"
automation_secret: "$SECRET"
service_groups: "my_service_groups"
title: "My Service Group"
state: "present"
vars:
my_service_groups:
- name: "service_one"
title: "Service One"
- name: "mail"
title: "IMAP"
delegate_to: localhost