Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-05 11:14:02 +01:00
parent ae191a3cbc
commit c8331574de
2 changed files with 12 additions and 5 deletions

View File

@ -10,7 +10,7 @@
executable: /bin/bash
chdir: /usr/local/src/nexmon/
- name: make firmware patch
- name: "make firmware patch ({{ item.patch }})"
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/ && make"
args:
executable: /bin/bash
@ -19,7 +19,7 @@
QEMU_UNAME: "{{ item.kernel }}"
ARCHFLAGS: "{{ item.arch_flags }}"
- name: install new firmware (bcm43455c0)
- name: install new firmware
copy:
src: "/usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/{{ item.firmware }}"
dest: "/usr/lib/firmware/brcm/{{ item.firmware }}"
@ -37,4 +37,4 @@
dest: "/usr/lib/modules/{{ item.kernel }}/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko"
- name : load brcmfmac drivers
command: "/sbin/depmod -a {{ item.kernel}}"
command: "/sbin/depmod -a {{ item.kernel }}"

View File

@ -396,13 +396,20 @@
register: pwngrid
- name: install pwngrid 1.10.4
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make && make install"
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make "
retries: 7
delay: 60
args:
executable: /bin/bash
chdir: /usr/local/src/pwngrid
- name: install pwngrid 1.10.4
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make install"
retries: 7
delay: 60
args:
executable: /bin/bash
chdir: /usr/local/src/pwngrid
when: pwngrid.changed
- name: remove pwngrid folder
file: