mirror of
https://github.com/roles-ansible/ansible_collection_wireguard.git
synced 2026-07-05 18:08:11 +02:00
- Jinja 100%
|
|
||
|---|---|---|
| .github | ||
| meta | ||
| roles/wireguardui | ||
| .yamllint | ||
| changelog | ||
| CHANGELOG.md | ||
| CHANGELOG.rst | ||
| galaxy.yml | ||
| LICENSE | ||
| README.md | ||
Ansible Collection - l3d.wireguard
This is the Ansible Collection l3d.wireguard. A collection to to install wireguard-ui on linux servers.
Ansible Roles in l3d.wireguard
Using this Collection
You can install the collection using ansible-galaxy by running:
ansible-galaxy collection install l3d.wireguard:1.0.2
Remember you can to Upgrade to the latest version of the l3d.wireguard collection using the --upgrade parameter:
ansible-galaxy collection install l3d.wireguard --upgrade
Or you could clone this collection in your local ansible project for example to collections/ansible_collections/l3d.wireguard/. Make sure you checkout git submodules too. Example:
# Clone git Repo with submodules to specified path
git clone --recursive https://github.com/roles-ansible/ansible_collection_wireguard.git collections/ansible_collections/l3d/wireguard/
# change directory
cd collections/ansible_collections/l3d.wireguard/
# optionally init git submodules
git submodule update --init --recursive
# optionally install all requirements
ansible-galaxy collection install -r requirements.yml --upgrade
You can also list a collection in requirements.yml:
---
collections:
- name: l3d.wireguard
version: ">=1.0.2"
Example Playbook
Example Playbook using the l3d.wireguard.wireguardui role:
---
- name: "Install and Setup Wireguard-UI"
hosts: wireguard.example.com
roles:
- {role: l3d.wireguard.wireguardui, tags: wireguardui}
vars:
wireguardui__conf_int_address: ['10.42.42.0/24', 'fd42:1337:4223::/48']
Requirements
The roles in this collection using the community.general and ansible.posix ansible Collections.