aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/wireguard
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-09-18 22:52:07 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-09-18 22:52:07 +0200
commit896e6824eb3d5488f82990aca9a31db14a82c49f (patch)
tree2274516ee5b8c1b743d71484bc25ed2f85814e47 /roles/wireguard
parentv0.0.26 (diff)
downloadinfra-ansible-896e6824eb3d5488f82990aca9a31db14a82c49f.tar.gz
infra-ansible-896e6824eb3d5488f82990aca9a31db14a82c49f.zip
use ansible.builtin.package generic module
Diffstat (limited to 'roles/wireguard')
-rw-r--r--roles/wireguard/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index 955bfdb..4deea91 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -2,10 +2,9 @@
become: true
block:
- name: Install wireguard-tools
- ansible.builtin.apt:
+ ansible.builtin.package:
name: wireguard-tools
state: present
- install_recommends: false
- name: Write wg-quick config file
ansible.builtin.template: