install wireguard using choco
This commit is contained in:
parent
ce0af910d1
commit
e69912b5cf
3 changed files with 17 additions and 0 deletions
3
defaults/main.yml
Normal file
3
defaults/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
win_wireguard__packages:
|
||||||
|
- 'wireguard'
|
4
tasks/main.yml
Normal file
4
tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
- name: Install some parsec specific packages
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: packages.yml
|
10
tasks/packages.yml
Normal file
10
tasks/packages.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
- name: Install wireguard packages
|
||||||
|
chocolatey.chocolatey.win_chocolatey:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
|
register: _wireguard
|
||||||
|
until: _wireguard is succeeded
|
||||||
|
retries: 5
|
||||||
|
delay: 2
|
||||||
|
with_items: "{{ win_wireguard__packages }}"
|
Loading…
Reference in a new issue