Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove VPN #323

Merged
merged 7 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ services:
depends_on:
- postgres

vpn:
image: 'python:3.10'
restart: unless-stopped
volumes:
- './scripts:/base:ro'
ports:
- '8001:8001'
working_dir: '/base'
command: 'python fake-vpn-xmlrpc-server.py'

datastore:
image: 'python:3.10'
restart: unless-stopped
Expand Down
2 changes: 0 additions & 2 deletions provisioning/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ hisparc_path: /uufs/chpc.utah.edu/common/home/hisparc
publicdb_host: hisparc-data.chpc.utah.edu
datastore_host: hisparc-raw.chpc.utah.edu
datastore_port: 8001
vpn_host:
vpn_port:

datastore_data_path: "{{ hisparc_path }}/data/datastore"
2 changes: 0 additions & 2 deletions provisioning/host_vars/publicdb/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ publicdb_repo: https://github.com/HiSPARC/publicdb.git
psql_database_name: publicdb
psql_user: "{{ ansible_user }}"

# vpn_proxy: "http://{{ vpn_host }}:{{ vpn_port }}"
vpn_proxy:
datastore_proxy: "http://{{ datastore_host }}:{{ datastore_port }}"

email_backend: django.core.mail.backends.smtp.EmailBackend
Expand Down
13 changes: 0 additions & 13 deletions provisioning/host_vars/vpn/main.yml

This file was deleted.

409 changes: 0 additions & 409 deletions provisioning/host_vars/vpn/vault.yml

This file was deleted.

1 change: 0 additions & 1 deletion provisioning/hosts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
all:
hosts:
publicdb:
vpn:
datastore:
18 changes: 2 additions & 16 deletions provisioning/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- name: Setup firewall and development tools are installed
- name: Setup prepare Python environment
hosts: publicdb:datastore
roles:
# - simple-firewall
- development

- name: Setup bashrc on shared user account
Expand All @@ -19,20 +18,7 @@
hosts: datastore
roles:
- datastore

# Datastore Firewall (nftables)
# HiSPARC datastore configuration server
# ip saddr hisparc-data tcp dport { 8001 } accept

# - name: Setup network config for tietar
# hosts: tietar.nikhef.nl
# roles:
# - network-tietar

# - name: Setup VPN server
# hosts: vpn_group
# roles:
# - dos
# - postfix
# - shorewall-firewall
# - openvpn
# - vpn-scripts
3 changes: 0 additions & 3 deletions provisioning/roles/dos/handlers/main.yml

This file was deleted.

7 changes: 0 additions & 7 deletions provisioning/roles/dos/tasks/main.yml

This file was deleted.

3 changes: 0 additions & 3 deletions provisioning/roles/network-tietar/handlers/main.yml

This file was deleted.

20 changes: 0 additions & 20 deletions provisioning/roles/network-tietar/tasks/main.yml

This file was deleted.

Loading
Loading