summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-media.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-02-21 00:39:17 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-02-21 00:39:17 +0100
commit9e42ce7a73701443380b41b1a487426b8cc400b5 (patch)
treea89989e6753feb69b6660985a267b6307b11dc39 /inventory/host_vars/ele-media.yml
parentele-telesto does not need a public ip (diff)
elevate: base install for telesto/dione and some prometheus cleanup
Diffstat (limited to 'inventory/host_vars/ele-media.yml')
-rw-r--r--inventory/host_vars/ele-media.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-media.yml b/inventory/host_vars/ele-media.yml
index e58dcbeb..7892f7be 100644
--- a/inventory/host_vars/ele-media.yml
+++ b/inventory/host_vars/ele-media.yml
@@ -28,6 +28,29 @@ apt_repo_components:
spreadspace_apt_repo_components:
- container
+ - prometheus
+
+
+ntp_variant: chrony
+
+ntp_client:
+ servers:
+ - name: "{{ network_zones.lan.gateway }}"
+ options: iburst
+
+
+prometheus_exporter_listen_addr: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}"
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+ - chrony
+
+prometheus_job_multitarget_blackbox__probe:
+ ele-calypso:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
docker_pkg_provider: docker-com