Skip to content

Commit

Permalink
Merge pull request #323 from HiSPARC/remove-vpn
Browse files Browse the repository at this point in the history
Remove VPN
  • Loading branch information
153957 authored Mar 25, 2024
2 parents 1fe1492 + 2047a07 commit cccb65a
Show file tree
Hide file tree
Showing 81 changed files with 15 additions and 4,224 deletions.
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

0 comments on commit cccb65a

Please sign in to comment.