1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

add roleto install openvpn

This commit is contained in:
Lilian Roller 2019-04-26 09:27:55 +02:00
parent b12970e78e
commit 6656e67a09
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 33 additions and 0 deletions

View file

@ -1,6 +1,8 @@
--- ---
# some ssh role parameters
ssh_public_key_store: 'admin_ssh_keys' ssh_public_key_store: 'admin_ssh_keys'
home_sweet_home: false home_sweet_home: false
install_keychain: true
# i3wm config: # i3wm config:
i3_packages_extra: i3_packages_extra:

View file

@ -0,0 +1,31 @@
---
- 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