adding protonvpn role
This commit is contained in:
@@ -11,6 +11,7 @@ wm_packages:
|
||||
- grimshot
|
||||
- wlogout
|
||||
- xwayland
|
||||
- wdisplays
|
||||
|
||||
general_packages:
|
||||
- firefox-esr
|
||||
@@ -82,5 +83,6 @@ flatpak_packages:
|
||||
- org.signal.Signal
|
||||
- net.ankiweb.Anki
|
||||
- org.videolan.VLC
|
||||
- org.torproject.torbrowser-launcher
|
||||
|
||||
veracrypt_deb_url: "https://launchpad.net/veracrypt/trunk/1.26.7/+download/veracrypt-1.26.7-Debian-12-amd64.deb"
|
||||
28
roles/protonvpn/tasks/main.yml
Normal file
28
roles/protonvpn/tasks/main.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- name: Download the Proton VPN repository configuration and keys
|
||||
get_url:
|
||||
url: https://repo2.protonvpn.com/debian/dists/stable/main/binary-all/protonvpn-stable-release_1.0.3-3_all.deb
|
||||
dest: /tmp/protonvpn-stable-release_1.0.3-3_all.deb
|
||||
|
||||
- name: Install the Proton VPN repo
|
||||
command:
|
||||
cmd: dpkg -i /tmp/protonvpn-stable-release_1.0.3-3_all.deb
|
||||
|
||||
- name: Update apt
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Ensure old Proton VPN app or CLI is updated
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: yes
|
||||
|
||||
- name: Install Proton VPN app
|
||||
ansible.builtin.apt:
|
||||
name: proton-vpn-gnome-desktop
|
||||
state: present
|
||||
|
||||
- name: Ensure the latest version of the Proton VPN app is installed
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: yes
|
||||
1
roles/protonvpn/vars/main.yml
Normal file
1
roles/protonvpn/vars/main.yml
Normal file
@@ -0,0 +1 @@
|
||||
---
|
||||
7
site.yml
7
site.yml
@@ -2,10 +2,10 @@
|
||||
- name: Workstation setup
|
||||
hosts: workstation
|
||||
roles:
|
||||
- role: base_config
|
||||
- role: base
|
||||
tags: base_config_tag
|
||||
|
||||
- role: base_pkg
|
||||
- role: pkg
|
||||
tags: base_pkg_tag
|
||||
|
||||
- role: ui_config
|
||||
@@ -20,3 +20,6 @@
|
||||
|
||||
- role: plymouth
|
||||
tags: plymouth_tag
|
||||
|
||||
- role: protonvpn
|
||||
tags: protonvpn_tag
|
||||
|
||||
Reference in New Issue
Block a user