mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-03-10 08:21:43 +01:00
feat: oidc config on harbor side
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
- name: Deploy OpenVPN configs
|
||||
template:
|
||||
src: "{{ item }}.conf"
|
||||
dest: "/etc/openvpn/{{ item }}/"
|
||||
dest: "/etc/openvpn/{{ item }}-{{ item.dev_type }}/{{ item }}-{{ item.dev_type }}.conf"
|
||||
with_items:
|
||||
- atlantishq
|
||||
- { "name" : "atlantishq", "dev_type" : "tap", "port" : 7012 }
|
||||
- { "name" : "atlantishq", "dev_type" : "tun", "port" : 7013 }
|
||||
|
||||
- name: Openvpn Mgnt interface Pass file
|
||||
copy:
|
||||
|
||||
@@ -2,13 +2,15 @@ server 172.16.1.0 255.255.255.0
|
||||
#server-ipv6 fd2a:aef:608:1::/64
|
||||
|
||||
dev athq_sheppyvpn
|
||||
dev-type tap
|
||||
dev-type {{ dev_type }}
|
||||
|
||||
proto tcp
|
||||
port 7012
|
||||
proto {{ proto }}
|
||||
port {{ port }}
|
||||
|
||||
{% if dev_type == "tap" %}
|
||||
topology subnet
|
||||
client-to-client
|
||||
{% endif %}
|
||||
|
||||
# disable logging
|
||||
#log /dev/null
|
||||
|
||||
Reference in New Issue
Block a user