Remove socks proxy

This commit is contained in:
Jake Howard 2020-08-05 20:56:12 +01:00
parent c888fc5e72
commit 55f79b4a51
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 0 additions and 61 deletions

View file

@ -34,10 +34,6 @@
- plausible
- duplicati
- hosts: grimes
roles:
- socks-proxy
# Arch boxes
- hosts:
- grimes

View file

@ -1,11 +0,0 @@
version: "2.3"
services:
3proxy:
image: riftbit/3proxy:latest
restart: unless-stopped
ports:
- 1080:1080
environment:
- PROXY_LOGIN={{ socks_username }}
- PROXY_PASSWORD={{ socks_password }}

View file

@ -1,4 +0,0 @@
- name: restart socks proxy
shell:
chdir: /opt/3proxy
cmd: "{{ docker_update_command }}"

View file

@ -1,20 +0,0 @@
- name: Include socks variables
include_vars: socks.yml
- name: Create install directory
file:
path: /opt/3proxy
state: directory
owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Install compose file
template:
src: files/docker-compose.yml
dest: /opt/3proxy/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
notify: restart socks proxy
become: true

View file

@ -1,22 +0,0 @@
socks_username: !vault |
$ANSIBLE_VAULT;1.1;AES256
64643962636239336632373934363765613731633937393230643366323737343962613136616435
3331633461633637396365653663333833613465636266660a346338323562346338363930623164
35386230643630306138303762393135343861336364623166613061313436323761373462363762
3062393732393338300a393339396534353666366365303363333732393535303531613737663433
34326563636437373934313766386431363665646337383862646537643163623939643234373961
65316132333331393737336339633837366165373738333130323866346365303631386163656330
30666665303437613438326366356165393566346266326263623737626231356133623461343064
36623835366165323639373432626664623536383833396338613739336434393563643566303333
38343930623835666561626139376662326239383233313830626338336666316236
socks_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
35346561343164393538643930633434343133353138393565336436653161626332623930326434
3133623435363538666431376464356162326266663634640a653835663333366333373739396361
32306231656264633737353363346363356139323631306136393231383830366563643730313162
6334336338386230330a373464396430323465656666626436633832323236633065393065353030
39356333646663663630353565653734663663613131323734373765316662316564616666336562
64336531316338383938623637346536323961353264313363323137626533356639326633633266
34393336346461333364663234303663333939386133383166663261393433323632653034303634
63376665333064393933326164346634616232646361313639396330326365366435343066656566
61303764616661343563396262616339343335633963623565353934346561313534