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.
33 lines
498 B
33 lines
498 B
- name: PI Update
|
|
become: true
|
|
apt:
|
|
update_cache: yes
|
|
upgrade: dist
|
|
- name: Stress installieren (apt)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- stress
|
|
|
|
- name : Stress installieren(pip)
|
|
ansible.builtin.pip:
|
|
name:
|
|
- stressberry
|
|
- numpy
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|