forked from bau-sec/ansible-openvpn-hardened
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory.example
21 lines (19 loc) · 1 KB
/
inventory.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[localhost]
127.0.0.1 ansible_python_interpreter=python
# This group is used by the install.yml playbook. Only one host should be defined in the group
[openvpn-internet]
# Typical Digital Ocean config w/ root user and pub/priv key authentication
#255.255.255.255 ansible_user=root
# Typical azure config w/ ssh authentication
#255.255.255.255 ansible_user=vpnuser ansible_become=yes
# Config for a machine with pub/priv key and password
#255.255.255.255 ansible_user=vpnuser ansible_become=yes ansible_become_pass=password
# No example provided for using just password authentication.
# It's obvious given the example above but I'm not going to help you too much
# with that bush league shit. Use a pub/priv key pair.
# This group is used by the audit.yml, add_clients.yml and revoke_client.yml playbooks
# You must be connected to the VPN to run these playbooks.
# ansible_user, ansible_become_pass, etc are defined in group_vars/openvpn-vpn.yml
# which is generated by the install.yml playbook.
[openvpn-vpn]
10.9.0.1