Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99cf761528 | |||
| dbb9528f26 |
@@ -1,6 +1,7 @@
|
||||
[defaults]
|
||||
inventory=hosts
|
||||
interpreter_python=auto_silent
|
||||
inject_facts_as_vars=True
|
||||
|
||||
[inventory]
|
||||
localhost_warning=False
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
set_fact:
|
||||
services_report_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services.txt"
|
||||
services_enabled_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services-enabled.txt"
|
||||
services_command: "echo 'Service Manager {{ ansisible_service_mgr }} Not Recognized'"
|
||||
services_command: "echo 'Service Manager {{ ansible_service_mgr }} Not Recognized'"
|
||||
|
||||
- name: General | Tests | Services | Set Facts | SystemD
|
||||
set_fact:
|
||||
|
||||
@@ -26,6 +26,14 @@
|
||||
- mullvad-vpn
|
||||
state: present
|
||||
|
||||
- name: Workstation | Software | VPN | Install (Artix, runit)
|
||||
package:
|
||||
name:
|
||||
- mullvad-vpn-runit
|
||||
state: present
|
||||
when: ansible_distribution == "Artix"
|
||||
and ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Symlink GUI
|
||||
ansible.builtin.file:
|
||||
src: "/opt/Mullvad VPN/mullvad-vpn"
|
||||
@@ -33,6 +41,13 @@
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Enable (Artix, runit)
|
||||
ansible.builtin.file:
|
||||
src: "/etc/runit/sv/mullvad-daemon"
|
||||
dest: "/run/runit/services/mullvad"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
when: ansible_distribution in ("Debian", "Ubuntu", "Arch", "Artix")
|
||||
|
||||
# TBD: VPNs for distros like Devuan.
|
||||
|
||||
Reference in New Issue
Block a user