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/main.yml

42 lines
720 B
YAML
Raw Normal View History

2019-04-26 09:27:55 +02:00
---
- name: Run the equivalent of "pacman -Syu" as a separate step
become: yes
pacman:
update_cache: yes
upgrade: yes
when: ansible_os_family == 'Archlinux'
- name: Install OpenVPN for ArchLinux
become: yes
pacman:
name:
- openvpn
- bridge-utils
- easy-rsa
state: present
when: ansible_os_family == 'Archlinux'
2019-04-26 11:06:28 +02:00
- name: Install OpenVPN all
become: yes
package:
name:
- openvpn
- bridge-utils
- easy-rsa
state: present
when: ansible_os_family != 'Archlinux'
2019-04-26 09:27:55 +02:00
- name: Add the tun module
become: yes
modprobe:
name: tun
state: present
- name: Add the bridge module
become: yes
modprobe:
name: bridge
state: present