From 33b61bf0323ceeb405d81649e51452d83634b868 Mon Sep 17 00:00:00 2001 From: Zolfa Date: Tue, 28 Apr 2020 22:03:55 +0200 Subject: [PATCH] roles/openvpn: add defaults server_fqdn: {{ ansible_hostname }}.{{ domain }} specification in defaults/main.yaml --- roles/openvpn/defaults/main.yaml | 3 +++ roles/openvpn/tasks/main.yaml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 roles/openvpn/defaults/main.yaml diff --git a/roles/openvpn/defaults/main.yaml b/roles/openvpn/defaults/main.yaml new file mode 100644 index 0000000..9c49d19 --- /dev/null +++ b/roles/openvpn/defaults/main.yaml @@ -0,0 +1,3 @@ +--- +server_fqdn: '{{ inventory_hostname }}.{{ domain }}' +... diff --git a/roles/openvpn/tasks/main.yaml b/roles/openvpn/tasks/main.yaml index c2b535d..092175b 100644 --- a/roles/openvpn/tasks/main.yaml +++ b/roles/openvpn/tasks/main.yaml @@ -18,6 +18,8 @@ tags: - 'tls_int' +# Shouldn't be required for TLSv1.3 +# #- name: create openvpn dh2048 # shell: 'openssl dhparam -out /etc/openvpn/dh2048.pem 2048' # args: