Compare commits

...

2 Commits

3 changed files with 17 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
[defaults] [defaults]
inventory=hosts inventory=hosts
interpreter_python=auto_silent interpreter_python=auto_silent
inject_facts_as_vars=True
[inventory] [inventory]
localhost_warning=False localhost_warning=False
+1 -1
View File
@@ -5,7 +5,7 @@
set_fact: set_fact:
services_report_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services.txt" services_report_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services.txt"
services_enabled_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.services-enabled.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 - name: General | Tests | Services | Set Facts | SystemD
set_fact: set_fact:
+15
View File
@@ -26,6 +26,14 @@
- mullvad-vpn - mullvad-vpn
state: present 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 - name: Workstation | Software | VPN | Mullvad | Symlink GUI
ansible.builtin.file: ansible.builtin.file:
src: "/opt/Mullvad VPN/mullvad-vpn" src: "/opt/Mullvad VPN/mullvad-vpn"
@@ -33,6 +41,13 @@
state: link state: link
force: true 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") when: ansible_distribution in ("Debian", "Ubuntu", "Arch", "Artix")
# TBD: VPNs for distros like Devuan. # TBD: VPNs for distros like Devuan.