Compare commits

..

8 Commits

Author SHA1 Message Date
gballan be2208b245 Adding uptime kuma config
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-24 00:14:43 -04:00
gballan 089f875520 Adding new Pi 5 1GB to inventory; updating monitoring server nodes list with new wifi node IPs
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-20 22:03:21 -04:00
gballan ea32497180 Adding playbook to run benchmarks via sysbench
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-16 14:58:36 -04:00
gballan bbf63b4c63 Adding Raspberry Pi Zero 1; adding Pi 3A+ and Pi Zero to Grafan
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-07 01:09:26 -04:00
gballan 588a44a0c1 Adding Pi 3A+
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-05 22:35:10 -04:00
gballan 924bacd958 Adding rest of Raspberry Pis to Prometheus
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-05 19:15:15 -04:00
gballan f21fb8b604 Adding rest of Raspberry Pis to inventory 2026-10-05 19:15:04 -04:00
gballan fcd584e2ba Fixing SSSD config 2026-10-05 19:14:46 -04:00
7 changed files with 94 additions and 8 deletions
+2 -1
View File
@@ -60,6 +60,7 @@ ntp_restrict:
- '::1' - '::1'
# SSSD & OpenLDAP core settings # SSSD & OpenLDAP core settings
sssd_nss_homedir_substring: '/nfs/users'
sssd_domain_name: "metaunix" sssd_domain_name: "metaunix"
openldap_host: "ldap.int.metaunix.net" openldap_host: "ldap.int.metaunix.net"
openldap_port: 636 openldap_port: 636
@@ -81,4 +82,4 @@ sudoers_sudoers:
- name: '%sudo' - name: '%sudo'
entry: 'ALL=NOPASSWD:ALL' entry: 'ALL=NOPASSWD:ALL'
- name: '%linuxadmins' - name: '%linuxadmins'
entry: 'ALL=(ALL) ALL' entry: 'ALL=NOPASSWD:ALL'
+20 -1
View File
@@ -4,6 +4,25 @@ prometheus_prometheus_targets:
- "localhost:9090" - "localhost:9090"
prometheus_node_exporter_targets: prometheus_node_exporter_targets:
- "localhost:9100" - "10.7.10.15:9100"
- "10.7.10.16:9100"
- "10.7.10.26:9100"
- "10.7.10.96:9100" - "10.7.10.96:9100"
- "10.7.10.97:9100" - "10.7.10.97:9100"
- "10.7.10.101:9100"
- "10.7.10.102:9100"
- "10.7.10.105:9100"
- "10.7.10.106:9100"
- "10.7.10.107:9100"
- "10.7.20.65:9100"
- "10.7.20.66:9100"
- "10.7.20.67:9100"
- "10.7.20.68:9100"
- "10.7.20.69:9100"
- "ci-v2-arm1.int.metaunix.net:9100"
- "ci-v2-arm2.int.metaunix.net:9100"
- "ci-v2-arm3.int.metaunix.net:9100"
- "ks-v2.int.metaunix.net:9100"
- "lb-v3.int.metaunix.net:9100"
- "ns3.int.metaunix.net:9100"
- "ns4.int.metaunix.net:9100"
+13 -4
View File
@@ -42,10 +42,10 @@ backup-v2 ansible_host=10.7.10.26
ci-v2-arm1 ansible_host=ci-v2-arm1.int.metaunix.net ci-v2-arm1 ansible_host=ci-v2-arm1.int.metaunix.net
ci-v2-arm2 ansible_host=ci-v2-arm2.int.metaunix.net ci-v2-arm2 ansible_host=ci-v2-arm2.int.metaunix.net
ci-v2-arm3 ansible_host=ci-v2-arm3.int.metaunix.net ci-v2-arm3 ansible_host=ci-v2-arm3.int.metaunix.net
#ks-v2 ansible_host=ks-v2.int.metaunix.net ks-v2 ansible_host=ks-v2.int.metaunix.net
#lb-v3 ansible_host=lb-v3.int.metaunix.net lb-v3 ansible_host=lb-v3.int.metaunix.net
#ns3 ansible_host=ns3.int.metaunix.net ns3 ansible_host=ns3.int.metaunix.net
#ns4 ansible_host=ns4.int.metaunix.net ns4 ansible_host=ns4.int.metaunix.net
pitty-v1-pico ansible_host=10.7.10.16 pitty-v1-pico ansible_host=10.7.10.16
pitty-v1-sw ansible_host=10.7.10.15 pitty-v1-sw ansible_host=10.7.10.15
pi1b-1 ansible_host=10.7.10.101 pi1b-1 ansible_host=10.7.10.101
@@ -54,6 +54,12 @@ pi1b-2 ansible_host=10.7.10.102
pi3b ansible_host=10.7.10.104 pi3b ansible_host=10.7.10.104
pi4b4g ansible_host=10.7.10.105 pi4b4g ansible_host=10.7.10.105
pi5b2g ansible_host=10.7.10.106 pi5b2g ansible_host=10.7.10.106
picm5-1 ansible_host=10.7.10.107
picam-1 ansible_host=10.7.20.65
pimusic-1 ansible_host=10.7.20.66
pimusic-2 ansible_host=10.7.20.67
pizero1 ansible_host=10.7.20.68
pi5b1g ansible_host=10.7.20.69
[serial_ttyd] [serial_ttyd]
pitty-v1-sw ansible_host=10.7.10.15 pitty-v1-sw ansible_host=10.7.10.15
@@ -63,6 +69,9 @@ pitty-v1-pico ansible_host=10.7.10.16
smtp1 ansible_host=smtp1.int.metaunix.net smtp1 ansible_host=smtp1.int.metaunix.net
smtp2 ansible_host=smtp2.int.metaunix.net smtp2 ansible_host=smtp2.int.metaunix.net
[uptime_kuma]
pi5b1g ansible_host=10.7.20.69
[web_servers] [web_servers]
www3 ansible_host=www3.int.metaunix.net www3 ansible_host=www3.int.metaunix.net
www4 ansible_host=www4.int.metaunix.net www4 ansible_host=www4.int.metaunix.net
+32
View File
@@ -0,0 +1,32 @@
---
- name: Run Sysbench Suite
hosts: all
become: true
tasks:
- name: Ensure sysbench is installed
ansible.builtin.package:
name: sysbench
state: present
tags: [always]
- name: CPU Benchmarks
tags: [cpu, sysbench_cpu]
block:
- name: Sysbench CPU (Single-thread)
ansible.builtin.command: sysbench cpu --cpu-max-prime=20000 --threads=1 run
register: sysbench_cpu_single
changed_when: false
- name: Sysbench CPU (Multi-thread)
ansible.builtin.command: sysbench cpu --cpu-max-prime=20000 --threads={{ ansible_processor_vcpus }} run
register: sysbench_cpu_multi
changed_when: false
- name: Memory Benchmarks
tags: [memory, sysbench_memory]
block:
- name: Sysbench Memory (Write throughput)
ansible.builtin.command: sysbench memory --memory-block-size=1M --memory-total-size=10G --memory-oper=write run
register: sysbench_mem_write
changed_when: false
+3 -1
View File
@@ -1,7 +1,9 @@
--- ---
- name: Install and configure Docker - name: Install and configure Docker
hosts: ci_servers hosts:
- ci_servers
- uptime_kuma
become: true become: true
roles: roles:
+23
View File
@@ -0,0 +1,23 @@
---
- name: Deploy Uptime Kuma 2
hosts: uptime_kuma
become: true
tasks:
- name: Ensure named Docker volume exists
community.docker.docker_volume:
name: uptime-kuma
state: present
- name: Run Uptime Kuma container
community.docker.docker_container:
name: uptime-kuma
image: louislam/uptime-kuma:2
state: started
restart_policy: unless-stopped
published_ports:
- "3001:3001"
volumes:
- uptime-kuma:/app/data
pull: true
+1 -1
View File
@@ -16,7 +16,7 @@ roles:
- name: gballan.sssd - name: gballan.sssd
src: gitea@git.metaunix.net:gballan/ansible-role-sssd.git src: gitea@git.metaunix.net:gballan/ansible-role-sssd.git
scm: git scm: git
version: v0.1.6 version: v0.1.7
- src: arillso.sudoers - src: arillso.sudoers
version: 2.3.0 version: 2.3.0