diff --git a/hosts b/hosts index ecdac2a..30063d3 100644 --- a/hosts +++ b/hosts @@ -32,6 +32,7 @@ pi4: martin: lenny: terry: + skinner: pis: hosts: diff --git a/roles/stresspi/tasks/main.yml b/roles/stresspi/tasks/main.yml index 51bbcfd..47b69b6 100644 --- a/roles/stresspi/tasks/main.yml +++ b/roles/stresspi/tasks/main.yml @@ -8,12 +8,20 @@ apt: name: - stress + - libjpeg-dev + - zlib1g-dev + - libatlas-base-dev + - cmake + - python3-numpy + + - name : Stress installieren(pip) ansible.builtin.pip: name: - stressberry - - numpy +# - numpy + extra_args: --break-system-packages - name: copy script copy: diff --git a/roles/updatepi/tasks/main.yml b/roles/updatepi/tasks/main.yml index 6d5a178..610aa51 100644 --- a/roles/updatepi/tasks/main.yml +++ b/roles/updatepi/tasks/main.yml @@ -1,3 +1,17 @@ +- name: check log2ram exists + become: true + stat: + path: /etc/apt/sources.list.d/log2ram.list + register: stat_result + +- name: log2ram auf bookworm + become: true + replace: + path: /etc/apt/sources.list.d/log2ram.list + regexp: buster + replace: bookworm + when: stat_result.stat.exists + - name: PIs aktualisieren become: true apt: