{"id":23399733,"url":"https://github.com/dynamist/ansible-role-wireguard-vyatta","last_synced_at":"2025-04-08T19:53:33.042Z","repository":{"id":49440492,"uuid":"217763123","full_name":"dynamist/ansible-role-wireguard-vyatta","owner":"dynamist","description":"Ansible role for managing wireguard on vyatta based routers","archived":false,"fork":false,"pushed_at":"2021-06-17T13:23:57.000Z","size":19,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T15:47:11.486Z","etag":null,"topics":["automation","edgeos","vyatta","wireguard"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-26T20:05:37.000Z","updated_at":"2024-05-21T13:10:52.000Z","dependencies_parsed_at":"2022-08-29T09:12:06.856Z","dependency_job_id":null,"html_url":"https://github.com/dynamist/ansible-role-wireguard-vyatta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamist%2Fansible-role-wireguard-vyatta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamist%2Fansible-role-wireguard-vyatta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamist%2Fansible-role-wireguard-vyatta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamist%2Fansible-role-wireguard-vyatta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamist","download_url":"https://codeload.github.com/dynamist/ansible-role-wireguard-vyatta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918936,"owners_count":21018043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","edgeos","vyatta","wireguard"],"created_at":"2024-12-22T10:16:19.790Z","updated_at":"2025-04-08T19:53:33.024Z","avatar_url":"https://github.com/dynamist.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-role-wireguard-vyatta\n=========\n\nA simple role to install Wireguard DEB package on Vyatta based routers and to configure peers\n\nCurrently only supports EdgeOS\n\nTo do both do installation and configuration, the playbook must be defined with two entries:\n\n- First is to install the executable using regular SSH (`wireguard_install`)\n- Second is to configure Vyatta using networking module (`wireguard_configure`)\n\nRequirements\n------------\n\nVyatta based units (Vyatta, EdgeOS, VyOS)\n\nRole Variables\n--------------\n\n`wireguard_url` (default: `https://api.github.com/repos/WireGuard/wireguard-vyatta-ubnt/releases`)\n\n`wireguard_release` (default: `1.0.20210424-1`)\n\n`wireguard_config_dir` (default: `/config/wireguard`)\n\n`wireguard_wg_interfaces` (default: `[]`)\n\nDependencies\n------------\nrequirements.yaml:\n\n```yaml---\ncollections:\n- community.network\n```\n\nInstall using:\n\n- `ansible-galaxy collection install -r requirements.yaml`\n\nExample Playbook\n----------------\n\nPlaybook to run against EdgeOS routers.\n\n```yaml\n---\n- name: EdgeOS wireguard install\n  hosts: routers\n  gather_facts: false\n  vars:\n    wireguard_install: true\n    wireguard_configure: false\n  roles:\n    - ansible-role-wireguard-vyatta\n\n- name: EdgeOS wireguard configure\n  hosts: routers\n  gather_facts: false\n  connection: network_cli\n  vars:\n    ansible_network_os: edgeos\n    wireguard_install: false\n    wireguard_configure: \"server\"  # change to \"client\" for client\n    wireguard_wg_interfaces:\n      - interface: wg0\n        description: \"VPN Clients\"\n        address: 192.168.58.1/24\n        # privkey: \u003cprivate key\u003e assign private key with a variable instead of a file for client\n        port: 51820 # client doesn't use port\n        peer:\n          - id: \"AAAAAAAAAABBBBBBBBBBCCCCCCCCCCCCDDDDDDDDDDD=\"\n            description: \"peer 1\"\n            allowed_ips: 192.168.53.101/32\n            # endpoint: \u003cIP of server\u003e:\u003cport\u003e  # client needs an endpoint as well\n  roles:\n    - ansible-role-wireguard-vyatta\n```\n\nLicense\n-------\n\nApache 2.0\n\nAuthor Information\n------------------\n\nAuthor: Richard Holmboe \u003crichard@dynamist.se\u003e\n\nWebsite: https://dynamist.se/en/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamist%2Fansible-role-wireguard-vyatta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamist%2Fansible-role-wireguard-vyatta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamist%2Fansible-role-wireguard-vyatta/lists"}