Files
apLukov/roles/wireguard/tasks/prepare.yml
2024-10-30 01:50:38 +01:00

14 lines
270 B
YAML

---
# Update opkg cache
- name: Update opkg cache
ansible.builtin.command:
cmd: "opkg update"
changed_when: false
# Install wireguard packages
- name: Install wireguard packages
opkg:
name: "{{ item }}"
state: "present"
loop: "{{ wireguard_pkgs }}"