Compare commits
2 Commits
0122f086b2
...
99cf761528
| Author | SHA1 | Date | |
|---|---|---|---|
| 99cf761528 | |||
| dbb9528f26 |
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -25,6 +25,14 @@
|
|||||||
name:
|
name:
|
||||||
- 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:
|
||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user