Skip to content

Commit

Permalink
just two more examples to better quick understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
valkiriaaquatica authored and opoplawski committed Oct 10, 2024
1 parent 1af7547 commit 35eb500
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions plugins/modules/pfsense_openvpn_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,27 @@
- name: "Add OpenVPN server"
pfsense_openvpn_server:
name: 'OpenVPN Server'
mode: server_user
- name: "Add OpenVPN server with basic configuration"
pfsense_openvpn_server:
name: 'OpenVPN Server Ansible'
ca: name-your-ca-authority
cert: name-your-server-certificate
tunnel_network: 10.21.40.0/24
local_network: 172.16.3.0/24
mode: server_tls_user
- name: "Add OpenVPN server with verbose mode and Cloudflare DNS"
pfsense_openvpn_server:
name: 'OpenVPN Server Ansible Cloudflare'
ca: name-your-ca-authority
cert: name-your-server-certificate
tunnel_network: 10.10.10.0/24
local_network: 10.72.40.0/24
dns_server1: 1.1.1.1
verbosity_level: 4
mode: server_user
"""

RETURN = r'''
Expand Down

0 comments on commit 35eb500

Please sign in to comment.