Add symlinks for the Mullvad GUI.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Install VPN client(s).
|
# Install VPN client(s).
|
||||||
# https://mullvad.net/en/help/install-mullvad-app-linux
|
# https://mullvad.net/en/help/install-mullvad-app-linux
|
||||||
|
|
||||||
- name: Workstation | Software | VPN | Add Mullvad Repo [apt]
|
- name: Workstation | Software | VPN | Mullvad | Add Repo [apt]
|
||||||
shell: "{{ item }}"
|
shell: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
|
- sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
- apt update
|
- apt update
|
||||||
when: ansible_pkg_mgr == "apt"
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
|
||||||
- name: Workstation | Software | VPN | Add Mullvad Repo [dnf]
|
- name: Workstation | Software | VPN | Mullvad | Add Repo [dnf]
|
||||||
shell: "{{ item }}"
|
shell: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo
|
- sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo
|
||||||
@@ -21,3 +21,13 @@
|
|||||||
name:
|
name:
|
||||||
- mullvad-vpn
|
- mullvad-vpn
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Workstation | Software | VPN | Mullvad | Symlink GUI
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: "/opt/Mullvad VPN/mullvad-vpn"
|
||||||
|
dest: "{{ item }}"
|
||||||
|
state: link
|
||||||
|
force: true
|
||||||
|
loop:
|
||||||
|
- "{{ global_bin }}/mullvad-vpn"
|
||||||
|
- "{{ global_bin }}/mullvad-gui"
|
||||||
|
|||||||
Reference in New Issue
Block a user