mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
32 lines
541 B
YAML
32 lines
541 B
YAML
|
---
|
||
|
|
||
|
- 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'
|
||
|
|
||
|
- name: Add the tun module
|
||
|
become: yes
|
||
|
modprobe:
|
||
|
name: tun
|
||
|
state: present
|
||
|
|
||
|
- name: Add the bridge module
|
||
|
become: yes
|
||
|
modprobe:
|
||
|
name: bridge
|
||
|
state: present
|
||
|
|