Add simple Wireguard playbook. Add Ansible configuration. Add README.md with instructions. Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org> |
||
|---|---|---|
| .. | ||
| ansible.cfg | ||
| README.md | ||
| wireguard.yaml | ||
Basic Wireguard Installation
These files provide a very basic installation of Wireguard on Ubuntu.
Contents
-
ansible.cfg: This file tells Ansible where to find the default inventory information (it looks for a file named
hostsin the same directory). -
README.md: The file you're currently reading.
-
wireguard.yml: This Ansible playbook performs a very basic installation of Wireguard, including the generation of private and public keys.
Instructions
These instructions assume that Ansible is installed and working on your system.
-
Place the files from the
ansible/wireguarddirectory of this GitHub repository into a directory on your local system. You can clone the entire "learning-tools" repository (usinggit clone) or just download the specific files from theansible/wireguardfolder. -
Edit
hostsand add the necessary inventory information for Ansible. -
Run
ansible-playbook wireguard.ymlto run the Ansible playbook against the systems specified in the inventory file.
License
This content is licensed under the MIT License.