mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -228,58 +228,6 @@
|
|||||||
path: /usr/local/share/pwnagotchi/
|
path: /usr/local/share/pwnagotchi/
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
#- name: Install go-1.21
|
|
||||||
# unarchive:
|
|
||||||
# src: https://go.dev/dl/go1.21.3.linux-arm64.tar.gz
|
|
||||||
# dest: /usr/local
|
|
||||||
# remote_src: yes
|
|
||||||
# register: golang
|
|
||||||
|
|
||||||
#- name: Update .bashrc for go-1.21
|
|
||||||
# blockinfile:
|
|
||||||
# dest: /home/pi/.bashrc
|
|
||||||
# state: present
|
|
||||||
# block: |
|
|
||||||
# export GOPATH=$HOME/go
|
|
||||||
# export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
|
|
||||||
# when: golang.changed
|
|
||||||
|
|
||||||
#- name: download pwngrid 1.10.4
|
|
||||||
# git:
|
|
||||||
# repo: https://github.com/jayofelony/pwngrid.git
|
|
||||||
# dest: /usr/local/src/pwngrid
|
|
||||||
# register: pwngrid
|
|
||||||
|
|
||||||
#- name: install pwngrid 1.10.4
|
|
||||||
# shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
|
||||||
# args:
|
|
||||||
# executable: /bin/bash
|
|
||||||
# chdir: /usr/local/src/pwngrid
|
|
||||||
# when: pwngrid.changed
|
|
||||||
|
|
||||||
#- name: remove pwngrid folder
|
|
||||||
# file:
|
|
||||||
# state: absent
|
|
||||||
# path: /usr/local/src/pwngrid
|
|
||||||
|
|
||||||
#- name: download bettercap v2.32.1
|
|
||||||
# git:
|
|
||||||
# repo: https://github.com/jayofelony/bettercap.git
|
|
||||||
# dest: /usr/local/src/bettercap
|
|
||||||
# register: bettercap
|
|
||||||
|
|
||||||
#- name: Install bettercap v2.32.1
|
|
||||||
# shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
|
||||||
# args:
|
|
||||||
# executable: /bin/bash
|
|
||||||
# chdir: /usr/local/src/bettercap
|
|
||||||
# when: bettercap.changed
|
|
||||||
|
|
||||||
#- name: remove bettercap folder
|
|
||||||
# file:
|
|
||||||
# state: absent
|
|
||||||
# path: /usr/local/src/bettercap
|
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/jayofelony/caplets.git
|
repo: https://github.com/jayofelony/caplets.git
|
||||||
@ -334,12 +282,12 @@
|
|||||||
path: /boot/ssh
|
path: /boot/ssh
|
||||||
state: touch
|
state: touch
|
||||||
|
|
||||||
- name: adjust /boot/config.txt
|
#- name: adjust /boot/config.txt
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
dest: /boot/config.txt
|
# dest: /boot/config.txt
|
||||||
insertafter: EOF
|
# insertafter: EOF
|
||||||
line: '{{ item }}'
|
# line: '{{ item }}'
|
||||||
with_items: "{{system.boot_options}}"
|
# with_items: "{{system.boot_options}}"
|
||||||
|
|
||||||
- name: adjust /etc/modules
|
- name: adjust /etc/modules
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -435,16 +383,6 @@
|
|||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
|
||||||
- name: remove /root/go folder
|
|
||||||
file:
|
|
||||||
state: absent
|
|
||||||
path: /root/go
|
|
||||||
|
|
||||||
- name: remove /usr/local/go folder
|
|
||||||
file:
|
|
||||||
state: absent
|
|
||||||
path: /usr/local/go
|
|
||||||
|
|
||||||
- name: remove pip cache
|
- name: remove pip cache
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
|
Reference in New Issue
Block a user