commited current state (new functions, may not work by now)
This commit is contained in:
52
inventories/group_vars/all.example.yml
Normal file
52
inventories/group_vars/all.example.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
backupcow__repo_url: "git@gitea.servercow.de:Servercow-Internal/backupcow-dockerized.git" # Or else
|
||||
backupcow__install_path: "/opt/backupcow-dockerized"
|
||||
|
||||
opnsense_host: "45.85.48.5"
|
||||
|
||||
pdnsadmin_api_host: "pde.servercow.com"
|
||||
|
||||
deploy_keys: True
|
||||
|
||||
use_docker_image_mirror: true
|
||||
docker_mirror_location: "tinc" # or "tinc" based on your preference
|
||||
docker_install_source: "tinc"
|
||||
crowdsec_install_source: "tinc" # or "official" based on your preference
|
||||
crowdsec_lapi_url: "https://45.85.49.1:8080"
|
||||
|
||||
|
||||
# Basic server and authentication information.
|
||||
# You have to provide the distributed setup yourself.
|
||||
checkmk_agent_version: "2.3.0p34"
|
||||
checkmk_agent_edition: "cee"
|
||||
checkmk_agent_user: "{{ checkmk_automation_user }}"
|
||||
checkmk_agent_pass: "{{ checkmk_automation_pass }}"
|
||||
# Here comes the part, where we get into remote registration
|
||||
checkmk_agent_server_protocol: https
|
||||
# The following should be set to the central site.
|
||||
# This where you configure the host objects.
|
||||
# Currently the agent package is also pulled from here.
|
||||
checkmk_agent_server: servercow.observer
|
||||
checkmk_agent_site: "scowmon"
|
||||
checkmk_server_url: "https://servercow.observer"
|
||||
checkmk_monitoring_site: "scowmon"
|
||||
checkmk_host_folder: "backupmx"
|
||||
# The following should be pointed to the respective remote site.
|
||||
# This is where the registration will happen.
|
||||
checkmk_agent_registration_server: "{{ checkmk_agent_server }}"
|
||||
checkmk_agent_registration_site: "{{ checkmk_agent_site }}"
|
||||
# These options need to be enabled for all registrations to work.
|
||||
# You can however disable the one you do not want to perform.
|
||||
# But the host needs to be added and changes activated in any case.
|
||||
checkmk_agent_auto_activate: 'true'
|
||||
checkmk_agent_update: 'true'
|
||||
checkmk_agent_tls: 'true'
|
||||
# checkmk_agent_server_validate_certs: 'true'
|
||||
# These are some generic agent options you might want to configure.
|
||||
checkmk_agent_discover: 'true'
|
||||
checkmk_agent_discover_max_parallel_tasks: 2
|
||||
checkmk_agent_force_install: 'true'
|
||||
checkmk_agent_delegate_api_calls: localhost
|
||||
checkmk_agent_delegate_download: localhost
|
||||
checkmk_agent_host_name: "{{ backupcow__hostname }}"
|
||||
checkmk_agent_host_folder: "{{ checkmk_agent_folder }}"
|
||||
checkmk_agent_host_ip: "{{ bmx_ipv4_public }}"
|
||||
47
inventories/group_vars/all.yml
Normal file
47
inventories/group_vars/all.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
# Standardwerte, die überschrieben werden können
|
||||
os_update_auto_upgrade: true
|
||||
os_also_update_mirror: true # Can either be true or false | Use this to enable mirror changes. Useful for first runs.
|
||||
os_update_mirrors:
|
||||
- mirror: "http://mirror.tinc.gmbh/debian" # Enter a main mirror here (not security)
|
||||
type: "main"
|
||||
- mirror: "http://mirror.tinc.gmbh/debian-security" # Enter a security mirror here
|
||||
type: "security"
|
||||
os_update_major_version: false # Can either be true or false | To toggle if systems need to be upgraded to newer codename
|
||||
os_update_version_codename: "bookworm" # Change to switch major release (e.g. bookworm or trixie) | Used for jinja2 Template fill in as it determines the current codename of system where ansible is run on
|
||||
|
||||
# Basic server and authentication information.
|
||||
# You have to provide the distributed setup yourself.
|
||||
checkmk_agent_version: "2.3.0p34"
|
||||
checkmk_agent_edition: "cee"
|
||||
checkmk_agent_user: "{{ checkmk_automation_user }}"
|
||||
checkmk_agent_pass: "{{ checkmk_automation_pass }}"
|
||||
# Here comes the part, where we get into remote registration
|
||||
checkmk_agent_server_protocol: https
|
||||
# The following should be set to the central site.
|
||||
# This where you configure the host objects.
|
||||
# Currently the agent package is also pulled from here.
|
||||
checkmk_agent_server: servercow.observer
|
||||
checkmk_agent_site: "scowmon"
|
||||
checkmk_server_url: "https://servercow.observer"
|
||||
checkmk_monitoring_site: "scowmon"
|
||||
checkmk_host_folder: "backupmx"
|
||||
# The following should be pointed to the respective remote site.
|
||||
# This is where the registration will happen.
|
||||
checkmk_agent_registration_server: "{{ checkmk_agent_server }}"
|
||||
checkmk_agent_registration_site: "{{ checkmk_agent_site }}"
|
||||
# These options need to be enabled for all registrations to work.
|
||||
# You can however disable the one you do not want to perform.
|
||||
# But the host needs to be added and changes activated in any case.
|
||||
checkmk_agent_auto_activate: 'true'
|
||||
checkmk_agent_update: 'true'
|
||||
checkmk_agent_tls: 'true'
|
||||
# checkmk_agent_server_validate_certs: 'true'
|
||||
# These are some generic agent options you might want to configure.
|
||||
checkmk_agent_discover: 'true'
|
||||
checkmk_agent_discover_max_parallel_tasks: 2
|
||||
checkmk_agent_force_install: 'true'
|
||||
checkmk_agent_delegate_api_calls: localhost
|
||||
checkmk_agent_delegate_download: localhost
|
||||
checkmk_agent_host_name: "{{ backupcow__hostname }}"
|
||||
checkmk_agent_host_folder: "{{ checkmk_agent_folder }}"
|
||||
checkmk_agent_host_ip: "{{ bmx_ipv4_public }}"
|
||||
36
inventories/group_vars/icp-fra-pve1.yml
Normal file
36
inventories/group_vars/icp-fra-pve1.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
# Basic server and authentication information.
|
||||
# You have to provide the distributed setup yourself.
|
||||
checkmk_agent_version: "2.4.0p8"
|
||||
checkmk_agent_edition: "cee"
|
||||
checkmk_agent_user: "{{ checkmk_automation_user }}"
|
||||
checkmk_agent_pass: "{{ checkmk_automation_pass }}"
|
||||
# Here comes the part, where we get into remote registration
|
||||
checkmk_agent_server_protocol: https
|
||||
# The following should be set to the central site.
|
||||
# This where you configure the host objects.
|
||||
# Currently the agent package is also pulled from here.
|
||||
checkmk_agent_server: servercow.observer
|
||||
checkmk_agent_site: "scowmon"
|
||||
checkmk_server_url: "https://servercow.observer"
|
||||
checkmk_monitoring_site: "scowmon"
|
||||
checkmk_host_folder: "pves/icp-fra-pve1"
|
||||
# The following should be pointed to the respective remote site.
|
||||
# This is where the registration will happen.
|
||||
checkmk_agent_registration_server: "{{ checkmk_agent_server }}"
|
||||
checkmk_agent_registration_site: "{{ checkmk_agent_site }}"
|
||||
# These options need to be enabled for all registrations to work.
|
||||
# You can however disable the one you do not want to perform.
|
||||
# But the host needs to be added and changes activated in any case.
|
||||
checkmk_agent_auto_activate: 'true'
|
||||
checkmk_agent_update: 'true'
|
||||
checkmk_agent_tls: 'true'
|
||||
checkmk_agent_server_validate_certs: 'true'
|
||||
# These are some generic agent options you might want to configure.
|
||||
checkmk_agent_discover: 'true'
|
||||
checkmk_agent_discover_max_parallel_tasks: 2
|
||||
checkmk_agent_force_install: 'true'
|
||||
checkmk_agent_delegate_api_calls: localhost
|
||||
checkmk_agent_delegate_download: localhost
|
||||
checkmk_agent_host_name: "{{ ansible_hostname }}"
|
||||
checkmk_agent_host_folder: "{{ checkmk_agent_folder }}"
|
||||
checkmk_agent_host_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv6']['address'] }}"
|
||||
Reference in New Issue
Block a user