Skip to content

Commit a772445

Browse files
authored
Merge pull request #84 from richlamdev/add-mullvad-browser
add mullvad browser role
2 parents 5c09fea + accab7f commit a772445

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
roles:
1212
# - auto-update
13-
- base
13+
# - base
1414
# - aws
1515
# - brave
1616
# - chrome
@@ -21,6 +21,7 @@
2121
# - keepassxc
2222
# - kubectl
2323
# - microsoft
24+
- mullvad
2425
# - opera
2526
# - signal-desktop
2627
# - sublime-text

roles/mullvad/tasks/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
- name: Add Mullvad apt repository key
3+
get_url:
4+
url: https://repository.mullvad.net/deb/mullvad-keyring.asc
5+
dest: /usr/share/keyrings/mullvad-keyring.asc
6+
mode: "0644"
7+
force: false
8+
9+
- name: Add Mullvad repo
10+
apt_repository:
11+
repo: "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https://repository.mullvad.net/deb/stable {{ ansible_lsb.codename }} main"
12+
filename: mullvad-browser
13+
state: present
14+
update_cache: true
15+
16+
- name: Install Mullvad
17+
apt:
18+
name: "mullvad-browser"
19+
state: present

0 commit comments

Comments
 (0)