eigenes playbook für wireguard und DS_Store ignorieren
This commit is contained in:
parent
f731cae452
commit
418f615f55
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
wireguard_profiles/*
|
wireguard_profiles/*
|
||||||
*~
|
*~
|
||||||
inventory/*
|
inventory/*
|
||||||
|
.DS_Store
|
17
wireguard.yml
Normal file
17
wireguard.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
- name: Install wireguard server on launched hosts
|
||||||
|
hosts: launched
|
||||||
|
remote_user: admin
|
||||||
|
become: true
|
||||||
|
vars_prompt:
|
||||||
|
- name: vpn_clients_text
|
||||||
|
prompt: Please provide a space separated list of clients keys to generate (e.g. "mobilephone dekstop"
|
||||||
|
default: ""
|
||||||
|
private: no
|
||||||
|
vars:
|
||||||
|
vpn_client_names: "{{ vpn_clients_text.split(' ') }}"
|
||||||
|
vpn_clients: []
|
||||||
|
vpn_network: '10.100.100'
|
||||||
|
vpn_port: '58172'
|
||||||
|
roles:
|
||||||
|
- wireguard_server
|
Loading…
x
Reference in New Issue
Block a user