Finish deploy openvpn-server.

This commit is contained in:
yohan 2024-06-15 22:19:45 +02:00
parent 3ece57d679
commit 4737af16fd

View File

@ -52,37 +52,29 @@
registry: "{{ private_registry_domain }}" registry: "{{ private_registry_domain }}"
become: true become: true
#- name: Create openvpn-server container - name: Create openvpn-server container
# containers.podman.podman_container: containers.podman.podman_container:
# name: openvpn-server name: openvpn-server
# image: "{{ private_registry_domain }}/openvpn-server:075fc0f303" image: "{{ private_registry_domain }}/openvpn-server:2d2f032441"
# command: state: present
# - "--listening-port" cap_add:
# - "3478" - NET_ADMIN
# - "--verbose" device: /dev/net/tun
# - "--fingerprint" network:
# - "--use-auth-secret" - host
# - "--static-auth-secret" expose: 1194/udp
# - "{{ coturn_secret }}" #ports:
# - "--realm" # - 1194:1194/udp
# - "{{ DOMAIN }}" volume:
# - "--total-quota" - /mnt/volumes/openvpn-server_conf:/etc/openvpn/server:Z
# - "100" generate_systemd:
# - "--bps-capacity" path: /etc/systemd/system
# - "0" become: true
# - "--stale-nonce"
# - "--no-multicast-peers" - name: start/enable container service
# state: present ansible.builtin.systemd:
# network: daemon-reload: true
# - host name: container-openvpn-server
# generate_systemd: state: started
# path: /etc/systemd/system enabled: true
# become: true become: true
#
#- name: start/enable container service
# ansible.builtin.systemd:
# daemon-reload: true
# name: container-openvpn-server
# state: started
# enabled: true
# become: true