1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00
ansible_linux_desktop_setup/roles/openvpn/tasks/install.yml
2023-10-28 23:19:14 +02:00

24 lines
525 B
YAML

---
- name: Run the equivalent of "pacman -Sy" as a separate step # noqa: H1901
become: true
community.general.pacman:
update_cache: true
when: ansible_os_family == 'Archlinux'
- name: Update Debian apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
- name: Install OpenVPN all
become: true
ansible.builtin.package:
name: "{{ item }}"
state: 'present'
loop:
- 'openvpn'
- 'bridge-utils'
- 'easy-rsa'