You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
632 B
41 lines
632 B
- name: PI Update
|
|
become: true
|
|
apt:
|
|
update_cache: yes
|
|
upgrade: dist
|
|
- name: Stress installieren (apt)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- stress
|
|
- libjpeg-dev
|
|
- zlib1g-dev
|
|
- libatlas-base-dev
|
|
- cmake
|
|
- python3-numpy
|
|
|
|
|
|
|
|
- name : Stress installieren(pip)
|
|
ansible.builtin.pip:
|
|
name:
|
|
- stressberry
|
|
# - numpy
|
|
extra_args: --break-system-packages
|
|
|
|
- name: copy script
|
|
copy:
|
|
src: bin/{{ item }}
|
|
dest: /home/pi/bin
|
|
owner: pi
|
|
group: pi
|
|
mode: '0744'
|
|
with_items:
|
|
- run-stressberry.sh
|
|
|
|
- name: run stressberry
|
|
become_user: pi
|
|
command: ~/bin/run-stressberry.sh
|
|
|
|
|
|
|
|
|