migrate
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Install Checkmk agent on all hosts
|
||||
hosts: all
|
||||
become: true
|
||||
roles:
|
||||
- checkmk.general.agent
|
||||
vars:
|
||||
checkmk_agent_version: "2.4.0p15"
|
||||
checkmk_agent_server: << checkmk_server >>
|
||||
checkmk_agent_server_protocol: << checkmk_protocol >>
|
||||
checkmk_agent_site: << checkmk_site >>
|
||||
checkmk_agent_auto_activate: << checkmk_auto_activate >>
|
||||
checkmk_agent_tls: << checkmk_tls >>
|
||||
checkmk_agent_user: << checkmk_user >>
|
||||
checkmk_agent_pass: << checkmk_pass >>
|
||||
checkmk_agent_host_name: << checkmk_host >>
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"slug": "checkmk-install-agent",
|
||||
"kind": "ansible",
|
||||
"metadata": {
|
||||
"name": "Install Checkmk Agent",
|
||||
"description": "Installs and registers the Checkmk monitoring agent on target hosts using the checkmk.general.agent Ansible role.",
|
||||
"tags": [],
|
||||
"icon": {
|
||||
"provider": "selfhst",
|
||||
"id": "checkmk"
|
||||
},
|
||||
"draft": false,
|
||||
"version": {
|
||||
"name": "2.4.0",
|
||||
"source_dep_name": "manual/checkmk-install-agent"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"title": "Checkmk Configuration",
|
||||
"name": "checkmk",
|
||||
"items": [
|
||||
{
|
||||
"name": "checkmk_server",
|
||||
"type": "str",
|
||||
"title": "Checkmk Server",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "checkmk_protocol",
|
||||
"type": "str",
|
||||
"title": "Protocol",
|
||||
"required": true,
|
||||
"default": "https",
|
||||
"config": {
|
||||
"placeholder": "https"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "checkmk_site",
|
||||
"type": "str",
|
||||
"title": "Checkmk Site",
|
||||
"required": true,
|
||||
"default": "cmk",
|
||||
"config": {
|
||||
"placeholder": "cmk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "checkmk_auto_activate",
|
||||
"type": "bool",
|
||||
"title": "Auto Activate Agent",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"name": "checkmk_tls",
|
||||
"type": "bool",
|
||||
"title": "TLS",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"name": "checkmk_user",
|
||||
"type": "str",
|
||||
"title": "Checkmk Automation User",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "checkmk_pass",
|
||||
"type": "secret",
|
||||
"title": "Automation Password",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "checkmk_host",
|
||||
"type": "str",
|
||||
"title": "Checkmk Host Name",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user