Ansible role to install CheckMK server or satellite.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Requirements
- Default Variables
- checkmk_admin_password
- checkmk_default_folders
- checkmk_default_labels
- checkmk_default_publish
- checkmk_default_volumes
- checkmk_extra_folders
- checkmk_extra_labels
- checkmk_extra_publish
- checkmk_extra_volumes
- checkmk_image
- checkmk_livestatus_tcp
- checkmk_mail_relay_host
- checkmk_network
- checkmk_pull_image
- checkmk_site_id
- checkmk_version
- Discovered Tags
- Dependencies
- License
- Author
- Minimum Ansible version:
2.10
Password for the admin user
checkmk_admin_password:
List of default folders to create
checkmk_default_folders:
- /var/lib/checkmk
List of default labels to assign to docker command
checkmk_default_labels: []
List of default port publishing
checkmk_default_publish:
- 5000:5000
- 6557:6557
checkmk_default_publish:
- 127.0.0.1:5000:5000
- 127.0.0.1:6557:6557
List of default volumes to mount
checkmk_default_volumes:
- /var/lib/checkmk:/opt/omd/sites
List of extra folders to create
checkmk_extra_folders: []
checkmk_extra_folders:
- /path/to/host/folder1
- /path/to/host/folder2
- /path/to/host/folder3
List of extra labels to assign to docker command
checkmk_extra_labels: []
List of extra port publishing
checkmk_extra_publish: []
checkmk_extra_publish:
- 8080:8080
- 127.0.0.1:9000:9000
List of extra volumes to mount
checkmk_extra_volumes: []
checkmk_extra_volumes:
- /path/to/host/folder1:/path/within/container1
- /path/to/host/folder2:/path/within/container2
- /path/to/host/folder3:/path/within/container3
Docker image to use for deployment
checkmk_image: checkmk/check-mk-raw:{{ checkmk_version }}
Enable livestatus via TCP
checkmk_livestatus_tcp: true
Host of an SMTP relay server
checkmk_mail_relay_host:
Optionally assign this Docker network to container
checkmk_network:
Pull image as part of the tasks
checkmk_pull_image: true
Site name of the CheckMK server
checkmk_site_id:
Version of CheckMK to use
checkmk_version: 2.3.0-latest
checkmk
Apache-2.0