mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -322,11 +322,6 @@
|
|||||||
state: absent
|
state: absent
|
||||||
path: /usr/local/src/nexmon/
|
path: /usr/local/src/nexmon/
|
||||||
|
|
||||||
- name: make wheel staging dir
|
|
||||||
file:
|
|
||||||
state: directory
|
|
||||||
path: "{{ staging }}/wheels"
|
|
||||||
|
|
||||||
- name: clone pwnagotchi repository
|
- name: clone pwnagotchi repository
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/Sniffleupagus/pwnagotchi-snflpgs.git
|
repo: https://github.com/Sniffleupagus/pwnagotchi-snflpgs.git
|
||||||
@ -346,20 +341,14 @@
|
|||||||
pip:
|
pip:
|
||||||
name:
|
name:
|
||||||
- "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}"
|
- "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}"
|
||||||
- "{{ staging }}/wheels/{{ packages.torch.url | basename }}"
|
- "{{ packages.torch.url | basename }}"
|
||||||
- "{{ staging }}/wheels/{{ packages.torchvision.url | basename }}"
|
- "{{ packages.torchvision.url | basename }}"
|
||||||
- "stable-baselines3==1.8.0"
|
|
||||||
extra_args: "--no-cache-dir"
|
extra_args: "--no-cache-dir"
|
||||||
environment:
|
environment:
|
||||||
#QEMU_CPU: arm1176
|
#QEMU_CPU: arm1176
|
||||||
QEMU_UNAME: "{{ kernel.full }}"
|
QEMU_UNAME: "{{ kernel.full }}"
|
||||||
when: (pwnagotchigit.changed) or (pip_packages['pwnagotchi'] is undefined) or (pip_packages['pwnagotchi'] != pwnagotchi_version)
|
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
|
- name: create /usr/local/share/pwnagotchi/ folder
|
||||||
file:
|
file:
|
||||||
path: /usr/local/share/pwnagotchi/
|
path: /usr/local/share/pwnagotchi/
|
||||||
|
Reference in New Issue
Block a user