Upload files to "meta"

This commit is contained in:
mag 2025-12-01 11:49:57 +01:00
parent 4d0d77fbfe
commit 8ea0f387d1
2 changed files with 264 additions and 0 deletions

201
meta/argument_specs.yml Normal file
View file

@ -0,0 +1,201 @@
argument_specs:
main:
short_description: Install Checkmk agents
description:
- This role installs Checkmk agents.
author:
- Robin Gierse
options:
checkmk_agent_version:
type: "str"
default: "2.3.0p26"
description:
- Refer to the README for details.
checkmk_agent_edition:
type: "str"
default: "cre"
description:
- Refer to the README for details.
checkmk_agent_server:
type: "str"
required: true
description:
- Refer to the README for details.
checkmk_agent_server_protocol:
type: "str"
default: "http"
description:
- Refer to the README for details.
checkmk_agent_site:
type: "str"
required: true
description:
- Refer to the README for details.
checkmk_agent_registration_server_protocol:
type: "str"
default: "http"
description:
- Refer to the README for details.
checkmk_agent_registration_server:
type: "str"
default: "localhost"
description:
- Refer to the README for details.
checkmk_agent_registration_site:
type: "str"
default: "mysite"
description:
- Refer to the README for details.
checkmk_agent_server_validate_certs:
type: "bool"
default: true
description:
- Refer to the README for details.
checkmk_agent_server_port:
type: "str"
default: "{% if checkmk_agent_server_protocol == 'https' %}443{% else %}80{% endif %}"
description:
- Refer to the README for details.
checkmk_agent_user:
type: "str"
default: "automation"
description:
- Refer to the README for details.
checkmk_agent_port:
type: "int"
default: 6556
description:
- Refer to the README for details.
checkmk_agent_pass:
type: "str"
description:
- Refer to the README for details. This is mutually exclusive with 'checkmk_agent_secret'.
checkmk_agent_secret:
type: "str"
description:
- Refer to the README for details. This is mutually exclusive with 'checkmk_agent_pass'.
checkmk_agent_auto_activate:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_add_host:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_discover:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_discover_max_parallel_tasks:
type: "int"
default: 0
description:
- Refer to the README for details.
checkmk_agent_force_foreign_changes:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_update:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_tls:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_configure_firewall:
type: "bool"
default: true
description:
- Refer to the README for details.
checkmk_agent_configure_firewall_zone:
type: "str"
default: "public"
description:
- Refer to the README for details.
checkmk_agent_force_install:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_prep_legacy:
type: "bool"
default: false
description:
- Refer to the README for details.
checkmk_agent_delegate_api_calls:
type: "str"
default: "localhost"
description:
- Refer to the README for details.
checkmk_agent_delegate_download:
type: "str"
default: "{{ inventory_hostname }}"
description:
- Refer to the README for details.
checkmk_agent_host_name:
type: "str"
default: "{{ inventory_hostname }}"
description:
- Refer to the README for details.
checkmk_agent_folder:
type: "str"
default: "{{ checkmk_var_folder_path | default('/') }}"
description:
- Refer to the README for details.
checkmk_agent_host_attributes:
type: "dict"
default:
ipaddress: "{{ checkmk_agent_host_ip | default(omit) }}"
description:
- Refer to the README for details.
checkmk_agent_mode:
type: "str"
default: "pull"
description:
- Refer to the README for details.
checkmk_agent_no_log:
type: "bool"
default: true
description:
- Refer to the README for details.

63
meta/main.yml Normal file
View file

@ -0,0 +1,63 @@
---
galaxy_info:
role_name: agent
author: Robin Gierse
company: Checkmk GmbH
description: This role installs Checkmk agents.
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
# Choose a valid license ID from https://spdx.org - some suggested licenses:
# - BSD-3-Clause (default)
# - MIT
# - GPL-2.0-or-later
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: GPL-2.0-or-later
min_ansible_version: "2.4"
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
#
# Provide a list of supported platforms, and for each platform a list of versions.
# If you don't wish to enumerate all versions for a particular platform, use 'all'.
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
platforms:
- name: Debian
versions:
- all
- name: Ubuntu
versions:
- all
- name: EL
versions:
- all
- name: opensuse
versions:
- all
- name: SLES
versions:
- all
- name: Windows
versions:
- all
galaxy_tags: [checkmk, monitoring, agent]
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.