Catching up wolfpack to reenable

This commit is contained in:
DarkFeather 2024-01-12 13:06:19 -06:00
parent 1ca0272031
commit 221ce69a80
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
19 changed files with 70 additions and 77 deletions

View File

@ -61,6 +61,32 @@ all:
ip: 10.0.1.8
mac: B2:C6:2C:02:B2:6E
tap: true
Nodelet0:
ipinterface: eth0
ip: 10.0.1.9
mac: b8:27:eb:9a:73:dd
static: true
k3s_primary: true
Nodelet1:
ipinterface: eth0
ip: 10.0.1.10
mac: E4:5F:01:01:FF:9C
static: true
Nodelet2:
ipinterface: eth0
ip: 10.0.1.11
mac: E4:5F:01:01:FF:D5
static: true
Nodelet3:
ipinterface: eth0
ip: 10.0.1.12
mac: E4:5F:01:01:FF:96
static: true
Nodelet4:
ipinterface: eth0
ip: 10.0.1.13
mac: E4:5F:01:01:FF:E4
static: true
virtual: # 10.0.1.16/28
vars:
hosts:
@ -90,6 +116,7 @@ all:
bridge: br0
disks:
- '-drive format=raw,index=0,media=disk,file=/dev/sdb'
wolfpack_config: 'gitea@foundation.aninix.net:DarkFeather/WolfPack-Config.git'
Maat:
node: Node2
ip: 10.0.1.18

View File

@ -34,7 +34,7 @@
- SSH
- Sharingan
- hosts: Core
- hosts: Yggdrasil
order: sorted
serial: "{{ threads | default('16') }}"
gather_facts: true
@ -46,6 +46,9 @@
- SSL
- WebServer
- IRC
- WolfPack
- Foundation
- Yggrasil
- hosts: geth_hubs
order: sorted
@ -77,3 +80,4 @@
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
roles:
- DarkNet
- WolfPack

View File

@ -1,3 +1,3 @@
search
/srv/wolfpack/search-results
/srv/wolfpack/
aninix.net

View File

@ -1,4 +1,4 @@
download
/usr/local/src/isos/
wget -q -O - 'https://www.archlinux.org/download/' | grep rackspace | cut -f 2 -d \" | head -n 1
echo PREVRESULT/$(wget -q -O - PREVRESULT | grep x86_64.iso | head -n 1 | cut -f 2 -d \")
/srv/wolfpack
curl -s 'https://mirror.rackspace.com/archlinux/iso/latest/' | grep -m 1 x86_64.iso | cut -f 2 -d \"
echo https://mirror.rackspace.com/archlinux/iso/latest/PREVRESULT

View File

@ -1,3 +0,0 @@
download
/usr/local/src/isos
curl -s https://centos.org/download/ | grep Minimal | grep 'a href' | cut -f 2 -d '"'

View File

@ -1,5 +0,0 @@
download
/srv/wolfpack/
curl -s https://portableapps.com/apps/internet/google_chrome_portable | tr '<' '\n' | tr '>' '\n' | tr \" '\n' | grep online.paf.exe | sed 's/ /\%20/g' | sed 's/\&/\\\&/g'
curl -s https://portableapps.comPREVRESULT | tr '"' '\n' | grep redirect | tail -n 1
echo https://portableapps.comPREVRESULT

View File

@ -1,3 +0,0 @@
search
/srv/wolfpack/
Riffle

View File

@ -1,11 +0,0 @@
shows
/srv/yggdrasil/new_acquisition
S06E11#Game of Thrones
S04E21#Vikings#
S02E13#Mr Robot#HDTV
S02E12#Marco Polo
S02E12#Criminal Minds Beyond Borders#
S02E14#Dark Matter#ettv
S03E22#Star Wars Rebels#
S02E11#Shadowhunters#
S03E18#Gotham#

View File

@ -1,4 +1,4 @@
search
/srv/wolfpack/search-results
/srv/wolfpack
Eminem Shows
Eminem Concerts

View File

@ -1,8 +0,0 @@
torrent
/srv/yggdrasil/new_acquisition
King Arthur 2017 BRrip
The Great Wall 2017 BRrip
Edge of 17 2016 BRrip
Bilal: A New Breed of Hero 2015
John Wick Chapter 2 2017 HDrip
Fast 8 HDRip 2017

View File

@ -1,3 +0,0 @@
download
/usr/local/src/isos/
elinks --dump https://www.offensive-security.com/kali-linux-arm-images/ | grep rpi | head -n 1 | sed 's/^\s\+//'

View File

@ -1,4 +1,4 @@
download
/usr/local/src/isos/
wget -q -O - http://cdimage.kali.org/current/ | grep amd64.iso | head -n 1 | cut -f 8 -d '"'
/srv/wolfpack
curl -s http://cdimage.kali.org/current/ | grep -m 1 live-amd64.iso | cut -f 4 -d '"'
echo http://cdimage.kali.org/current/PREVRESULT

View File

@ -1,12 +0,0 @@
shows
/srv/yggdrasil/new_acquisition
S06E23#2 Broke Girls#
S10E25#Big Bang Theory#
S04E21#The Fosters#
S18E19#Law Order SVU#
S08E23#The Middle#
S08E22#Modern Family#
S07E13#Shameless US
S07E17#The Walking Dead#
S03E25#Scorpion#
S05E05#Prison Break#ettv

View File

@ -1,4 +0,0 @@
download
/var/cache/localpkg/
wget -q -O - https://www.mediawiki.org/wiki/Download | grep 'Download MediaWiki' | cut -f 6 -d \"
echo https:PREVRESULT

View File

@ -1,3 +0,0 @@
download
/usr/local/src/isos/
wget -q -O - https://www.plop.at/en/bootmanager/download.html | grep 'plpbt-' | head -n 2 | tail -n 1 | cut -f 3 -d '=' | cut -f 1 -d ' '

View File

@ -1,3 +0,0 @@
download
/srv/wolfpack/
echo http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

View File

@ -1,4 +1,3 @@
download
/usr/local/src/isos/
wget -q -O - 'https://www.raspberrypi.org/downloads/raspbian/' | grep 'btn dl-zip' | grep -i lite | cut -f 2 -d \"
curl -sI PREVRESULT | grep Location: | cut -f 2 -d ' ' | sed 's/\r//g'
/srv/wolfpack
echo https://downloads.raspberrypi.org/imager/imager_latest.exe

View File

@ -1,3 +0,0 @@
download
/srv/wolfpack/
wget -q -O - http://portableapps.com/apps/internet/winscp_portable | grep 'sf-download' | cut -f 4 -d \" | head -n 1

View File

@ -3,14 +3,39 @@
- name: Packages
become: yes
package:
state: present
name:
- wolfpack
- WolfPack
- name: Config
- name: File config
become: yes
copy:
src: "{{ inventory_hostname }}"
when: "wolfpack_config is not defined"
ansible.posix.synchronize:
src: "{{ inventory_hostname }}/"
dest: /usr/local/etc/WolfPack
delete: true
- name: Git config
become: yes
when: "wolfpack_config is defined"
git:
repo: "{{ wolfpack_config }}"
dest: /usr/local/etc/WolfPack
clone: yes
update: no
- name: Hardening
become: yes
loop:
- /usr/local/etc/WolfPack
- /srv/wolfpack
file:
path: "{{ item }}"
state: directory
owner: wolfpack
group: wolfpack
mode: 0755
recurse: true
- name: Timer
become: yes
@ -19,7 +44,3 @@
state: started
enabled: yes
daemon_reload: yes
# TODO Add sshfs and mountpoint for Darknet
# TODO Add config folders and restart daemon on change
# TODO Deprecate offload-wolfpack for Deluge move to sshfs