adding protonvpn role

This commit is contained in:
opal
2024-05-20 20:00:33 -07:00
parent bcc60d0409
commit aa1834a93e
10 changed files with 36 additions and 2 deletions

59
roles/pkg/tasks/main.yml Normal file
View File

@@ -0,0 +1,59 @@
---
- name: Upgrade all packages
package:
name: "*"
state: latest
- name: install window manager packages
package:
name: "{{ item }}"
state: present
loop: "{{ wm_packages }}"
- name: install cli packages
package:
name: "{{ item }}"
state: present
loop: "{{ general_packages }}"
- name: install doom dependencies
package:
name: "{{ item }}"
state: present
loop: "{{ doom_dep_packages }}"
- name: install networking packages
package:
name: "{{ item }}"
state: present
loop: "{{ networking_packages }}"
- name: install UI packages
package:
name: "{{ item }}"
state: present
loop: "{{ ui_packages }}"
- name: Add Flathub repository
flatpak_remote:
name: flathub
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
state: present
- name: Install flatpak packages
flatpak:
name: "{{ item }}"
state: present
remote: flathub
loop: "{{ flatpak_packages }}"
- name: Download VeraCrypt deb file
get_url:
url: "{{ veracrypt_deb_url }}"
dest: "/tmp/veracrypt.deb"
mode: '0644'
- name: Install VeraCrypt using the deb file
apt:
deb: "/tmp/veracrypt.deb"
state: present

88
roles/pkg/vars/main.yml Normal file
View File

@@ -0,0 +1,88 @@
---
wm_packages:
- sway
- swayidle
- swaylock
- waybar
- dunst
- grim
- brightnessctl
- wlsunset
- grimshot
- wlogout
- xwayland
- wdisplays
general_packages:
- firefox-esr
- docker
- keychain
- python3-pip
- curl
- make
- tldr
- exa
- gnupg2
- trash-cli
- lshw
- htop
- emacs
- mpv
- alacritty
- nfs-common
- nfs-kernel-server
- strawberry
- newsboat
- udiskie
- pavucontrol
- zathura
- flatpak
- blueman
- beets
- unrar-free
- unzip
- pcmanfm-qt
- polkit-kde-agent-1
networking_packages:
- nmap
- whois
- nm-tray
- wireguard-tools
- telnet
- resolvconf
doom_dep_packages:
- ripgrep
- libtool # Needed to compile vterm in Doom Emacs
- libtool-bin # Needed to compile vterm in Doom Emacs
- cmake # Needed to compile vterm in Doom Emacs
- discount # Markdown Compiler
- shellcheck # Shell linter for Doom Emacs
- python3-pyflakes
- python3-isort
- pipenv
- python3-nose2
- python3-nose
- python3-pytest
- python3-pylsp-black
ui_packages:
- papirus-icon-theme
- arc-theme
- qt5ct
- fonts-font-awesome
- fonts-cantarell
- fonts-noto-cjk
- fonts-noto-core
- fonts-hack
flatpak_packages:
- org.nicotine_plus.Nicotine
- com.brave.Browser
- 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"