summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-01-06 00:49:50 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-01-06 00:49:50 +0100
commit221ea39ba12b59894f55e6ae22c07b7c910c453b (patch)
treefb0642d08ef9fc901d4278d907a04ec5bdaff162 /chaos-at-home
parentinstall freerdp2-x11 on equinox-(ws|t450s) (diff)
streaming test hosts: install some temp/freq monitoring tools
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-calypso.yml28
-rw-r--r--chaos-at-home/ch-dione.yml27
-rw-r--r--chaos-at-home/ch-helene.yml27
-rw-r--r--chaos-at-home/ch-telesto.yml28
-rw-r--r--chaos-at-home/ch-thetys.yml28
5 files changed, 138 insertions, 0 deletions
diff --git a/chaos-at-home/ch-calypso.yml b/chaos-at-home/ch-calypso.yml
index 128bd3a7..0d6c4202 100644
--- a/chaos-at-home/ch-calypso.yml
+++ b/chaos-at-home/ch-calypso.yml
@@ -13,3 +13,31 @@
- role: core/admin-users
- role: streaming/blackmagic/desktopvideo
- role: streaming/blackmagic/mediaexpress
+ post_tasks:
+ - name: install lm-sensors and i7z
+ apt:
+ name:
+ - lm-sensors
+ - i7z
+
+ - name: load modules for lm-sensors
+ vars:
+ sensors_modules:
+ - coretemp
+ - w83627ehf
+ block:
+ - name: load special modules for lm-sensors
+ loop: "{{ sensors_modules }}"
+ modprobe:
+ name: "{{ item }}"
+ state: present
+
+ - name: make sure module is loaded on reboot
+ copy:
+ content: |
+ # Ansible managed
+
+ {% for module in sensors_modules %}
+ {{ module }}
+ {% endfor %}
+ dest: /etc/modules-load.d/sensors.conf
diff --git a/chaos-at-home/ch-dione.yml b/chaos-at-home/ch-dione.yml
index d386b0d8..1aab9e14 100644
--- a/chaos-at-home/ch-dione.yml
+++ b/chaos-at-home/ch-dione.yml
@@ -11,3 +11,30 @@
- role: core/admin-users
- role: apt-repo/spreadspace
- role: streaming/blackmagic/desktopvideo
+ post_tasks:
+ - name: install lm-sensors and i7z
+ apt:
+ name:
+ - lm-sensors
+ - i7z
+
+ - name: load modules for lm-sensors
+ vars:
+ sensors_modules:
+ - coretemp
+ block:
+ - name: load special modules for lm-sensors
+ loop: "{{ sensors_modules }}"
+ modprobe:
+ name: "{{ item }}"
+ state: present
+
+ - name: make sure module is loaded on reboot
+ copy:
+ content: |
+ # Ansible managed
+
+ {% for module in sensors_modules %}
+ {{ module }}
+ {% endfor %}
+ dest: /etc/modules-load.d/sensors.conf
diff --git a/chaos-at-home/ch-helene.yml b/chaos-at-home/ch-helene.yml
index 8595aa5e..a87e78bc 100644
--- a/chaos-at-home/ch-helene.yml
+++ b/chaos-at-home/ch-helene.yml
@@ -11,3 +11,30 @@
- role: core/admin-users
- role: apt-repo/spreadspace
- role: streaming/blackmagic/desktopvideo
+ post_tasks:
+ - name: install lm-sensors and i7z
+ apt:
+ name:
+ - lm-sensors
+ - i7z
+
+ - name: load modules for lm-sensors
+ vars:
+ sensors_modules:
+ - coretemp
+ block:
+ - name: load special modules for lm-sensors
+ loop: "{{ sensors_modules }}"
+ modprobe:
+ name: "{{ item }}"
+ state: present
+
+ - name: make sure module is loaded on reboot
+ copy:
+ content: |
+ # Ansible managed
+
+ {% for module in sensors_modules %}
+ {{ module }}
+ {% endfor %}
+ dest: /etc/modules-load.d/sensors.conf
diff --git a/chaos-at-home/ch-telesto.yml b/chaos-at-home/ch-telesto.yml
index 71569727..14f868ad 100644
--- a/chaos-at-home/ch-telesto.yml
+++ b/chaos-at-home/ch-telesto.yml
@@ -13,3 +13,31 @@
- role: core/admin-users
- role: streaming/blackmagic/desktopvideo
- role: streaming/blackmagic/mediaexpress
+ post_tasks:
+ - name: install lm-sensors and i7z
+ apt:
+ name:
+ - lm-sensors
+ - i7z
+
+ - name: load modules for lm-sensors
+ vars:
+ sensors_modules:
+ - coretemp
+ - w83627ehf
+ block:
+ - name: load special modules for lm-sensors
+ loop: "{{ sensors_modules }}"
+ modprobe:
+ name: "{{ item }}"
+ state: present
+
+ - name: make sure module is loaded on reboot
+ copy:
+ content: |
+ # Ansible managed
+
+ {% for module in sensors_modules %}
+ {{ module }}
+ {% endfor %}
+ dest: /etc/modules-load.d/sensors.conf
diff --git a/chaos-at-home/ch-thetys.yml b/chaos-at-home/ch-thetys.yml
index 6c8b0805..01cb9cca 100644
--- a/chaos-at-home/ch-thetys.yml
+++ b/chaos-at-home/ch-thetys.yml
@@ -13,3 +13,31 @@
- role: kubernetes/base
- role: kubernetes/standalone/base
- role: streaming/rtmp/streamer
+ post_tasks:
+ - name: install lm-sensors and i7z
+ apt:
+ name:
+ - lm-sensors
+ - i7z
+
+ - name: load modules for lm-sensors
+ vars:
+ sensors_modules:
+ - coretemp
+ - it87
+ block:
+ - name: load special modules for lm-sensors
+ loop: "{{ sensors_modules }}"
+ modprobe:
+ name: "{{ item }}"
+ state: present
+
+ - name: make sure module is loaded on reboot
+ copy:
+ content: |
+ # Ansible managed
+
+ {% for module in sensors_modules %}
+ {{ module }}
+ {% endfor %}
+ dest: /etc/modules-load.d/sensors.conf