- 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