diff --git a/builder/raspberrypi32.yml b/builder/raspberrypi32.yml index a3f97e7d..c5b00856 100644 --- a/builder/raspberrypi32.yml +++ b/builder/raspberrypi32.yml @@ -322,11 +322,6 @@ state: absent path: /usr/local/src/nexmon/ - - name: make wheel staging dir - file: - state: directory - path: "{{ staging }}/wheels" - - name: clone pwnagotchi repository git: repo: https://github.com/Sniffleupagus/pwnagotchi-snflpgs.git @@ -346,20 +341,14 @@ pip: name: - "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}" - - "{{ staging }}/wheels/{{ packages.torch.url | basename }}" - - "{{ staging }}/wheels/{{ packages.torchvision.url | basename }}" - - "stable-baselines3==1.8.0" + - "{{ packages.torch.url | basename }}" + - "{{ packages.torchvision.url | basename }}" extra_args: "--no-cache-dir" environment: #QEMU_CPU: arm1176 QEMU_UNAME: "{{ kernel.full }}" when: (pwnagotchigit.changed) or (pip_packages['pwnagotchi'] is undefined) or (pip_packages['pwnagotchi'] != pwnagotchi_version) - - name: copy pwnagotchi wheel to staging dir - ansible.builtin.copy: - src: "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}" - dest: "{{ staging }}/wheels" - - name: create /usr/local/share/pwnagotchi/ folder file: path: /usr/local/share/pwnagotchi/