mirror of
https://github.com/trailofbits/algo
synced 2024-11-18 09:25:38 +00:00
25513cf925
* Refactoring, Linting and additional tests * Vultr: Undefined variable and deprecation notes fix * Travis-CI enable linters * Azure: Update python requirements * Update main.yml * Update install.sh * Add missing roles to ansible-lint * Linting for skipped roles * add .ansible-lint config
34 lines
716 B
YAML
34 lines
716 B
YAML
---
|
|
- name: WireGuard repository configured
|
|
apt_repository:
|
|
repo: ppa:wireguard/wireguard
|
|
state: present
|
|
register: result
|
|
until: result is succeeded
|
|
retries: 10
|
|
delay: 3
|
|
|
|
- name: WireGuard installed
|
|
apt:
|
|
name: wireguard
|
|
state: present
|
|
update_cache: true
|
|
|
|
- name: WireGuard reload-module-on-update
|
|
file:
|
|
dest: /etc/wireguard/.reload-module-on-update
|
|
state: touch
|
|
|
|
- name: Configure unattended-upgrades
|
|
copy:
|
|
src: 50-wireguard-unattended-upgrades
|
|
dest: /etc/apt/apt.conf.d/50-wireguard-unattended-upgrades
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
- name: Set OS specific facts
|
|
set_fact:
|
|
service_name: "wg-quick@{{ wireguard_interface }}"
|
|
tags: always
|