Catching up wolfpack to reenable
This commit is contained in:
parent
1ca0272031
commit
221ce69a80
@ -61,6 +61,32 @@ all:
|
|||||||
ip: 10.0.1.8
|
ip: 10.0.1.8
|
||||||
mac: B2:C6:2C:02:B2:6E
|
mac: B2:C6:2C:02:B2:6E
|
||||||
tap: true
|
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
|
virtual: # 10.0.1.16/28
|
||||||
vars:
|
vars:
|
||||||
hosts:
|
hosts:
|
||||||
@ -90,6 +116,7 @@ all:
|
|||||||
bridge: br0
|
bridge: br0
|
||||||
disks:
|
disks:
|
||||||
- '-drive format=raw,index=0,media=disk,file=/dev/sdb'
|
- '-drive format=raw,index=0,media=disk,file=/dev/sdb'
|
||||||
|
wolfpack_config: 'gitea@foundation.aninix.net:DarkFeather/WolfPack-Config.git'
|
||||||
Maat:
|
Maat:
|
||||||
node: Node2
|
node: Node2
|
||||||
ip: 10.0.1.18
|
ip: 10.0.1.18
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
- SSH
|
- SSH
|
||||||
- Sharingan
|
- Sharingan
|
||||||
|
|
||||||
- hosts: Core
|
- hosts: Yggdrasil
|
||||||
order: sorted
|
order: sorted
|
||||||
serial: "{{ threads | default('16') }}"
|
serial: "{{ threads | default('16') }}"
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
@ -46,6 +46,9 @@
|
|||||||
- SSL
|
- SSL
|
||||||
- WebServer
|
- WebServer
|
||||||
- IRC
|
- IRC
|
||||||
|
- WolfPack
|
||||||
|
- Foundation
|
||||||
|
- Yggrasil
|
||||||
|
|
||||||
- hosts: geth_hubs
|
- hosts: geth_hubs
|
||||||
order: sorted
|
order: sorted
|
||||||
@ -77,3 +80,4 @@
|
|||||||
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||||
roles:
|
roles:
|
||||||
- DarkNet
|
- DarkNet
|
||||||
|
- WolfPack
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
search
|
search
|
||||||
/srv/wolfpack/search-results
|
/srv/wolfpack/
|
||||||
aninix.net
|
aninix.net
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
download
|
download
|
||||||
/usr/local/src/isos/
|
/srv/wolfpack
|
||||||
wget -q -O - 'https://www.archlinux.org/download/' | grep rackspace | cut -f 2 -d \" | head -n 1
|
curl -s 'https://mirror.rackspace.com/archlinux/iso/latest/' | grep -m 1 x86_64.iso | cut -f 2 -d \"
|
||||||
echo PREVRESULT/$(wget -q -O - PREVRESULT | grep x86_64.iso | head -n 1 | cut -f 2 -d \")
|
echo https://mirror.rackspace.com/archlinux/iso/latest/PREVRESULT
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
download
|
|
||||||
/usr/local/src/isos
|
|
||||||
curl -s https://centos.org/download/ | grep Minimal | grep 'a href' | cut -f 2 -d '"'
|
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||||||
search
|
|
||||||
/srv/wolfpack/
|
|
||||||
Riffle
|
|
@ -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#
|
|
@ -1,4 +1,4 @@
|
|||||||
search
|
search
|
||||||
/srv/wolfpack/search-results
|
/srv/wolfpack
|
||||||
Eminem Shows
|
Eminem Shows
|
||||||
Eminem Concerts
|
Eminem Concerts
|
||||||
|
@ -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
|
|
@ -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\+//'
|
|
@ -1,4 +1,4 @@
|
|||||||
download
|
download
|
||||||
/usr/local/src/isos/
|
/srv/wolfpack
|
||||||
wget -q -O - http://cdimage.kali.org/current/ | grep amd64.iso | head -n 1 | cut -f 8 -d '"'
|
curl -s http://cdimage.kali.org/current/ | grep -m 1 live-amd64.iso | cut -f 4 -d '"'
|
||||||
echo http://cdimage.kali.org/current/PREVRESULT
|
echo http://cdimage.kali.org/current/PREVRESULT
|
||||||
|
@ -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
|
|
@ -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
|
|
@ -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 ' '
|
|
@ -1,3 +0,0 @@
|
|||||||
download
|
|
||||||
/srv/wolfpack/
|
|
||||||
echo http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
|
|
@ -1,4 +1,3 @@
|
|||||||
download
|
download
|
||||||
/usr/local/src/isos/
|
/srv/wolfpack
|
||||||
wget -q -O - 'https://www.raspberrypi.org/downloads/raspbian/' | grep 'btn dl-zip' | grep -i lite | cut -f 2 -d \"
|
echo https://downloads.raspberrypi.org/imager/imager_latest.exe
|
||||||
curl -sI PREVRESULT | grep Location: | cut -f 2 -d ' ' | sed 's/\r//g'
|
|
||||||
|
@ -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
|
|
@ -3,14 +3,39 @@
|
|||||||
- name: Packages
|
- name: Packages
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
|
state: present
|
||||||
name:
|
name:
|
||||||
- wolfpack
|
- WolfPack
|
||||||
|
|
||||||
- name: Config
|
- name: File config
|
||||||
become: yes
|
become: yes
|
||||||
copy:
|
when: "wolfpack_config is not defined"
|
||||||
src: "{{ inventory_hostname }}"
|
ansible.posix.synchronize:
|
||||||
|
src: "{{ inventory_hostname }}/"
|
||||||
dest: /usr/local/etc/WolfPack
|
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
|
- name: Timer
|
||||||
become: yes
|
become: yes
|
||||||
@ -19,7 +44,3 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: 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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user