Change tabs to spaces.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
---
|
||||
# Install VPN client(s).
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad
|
||||
block:
|
||||
|
||||
# https://mullvad.net/en/help/install-mullvad-app-linux
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Add Repo [apt]
|
||||
@@ -28,3 +32,7 @@
|
||||
dest: "{{ global_bin }}/mullvad-vpn"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
when: ansible_distribution in ("Debian", "Ubuntu", "Arch", "Artix")
|
||||
|
||||
# TBD: VPNs for distros like Devuan.
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
# This also exists but was not utilized:
|
||||
# https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo
|
||||
|
||||
- name: Workstation | Linux | Software | VS Codium
|
||||
block:
|
||||
|
||||
## Facts ##
|
||||
|
||||
# Paths
|
||||
@@ -15,7 +18,6 @@
|
||||
set_fact:
|
||||
vscodium_source_list: "/etc/apt/sources.list.d/vscodium.list"
|
||||
vscodium_keyfile: "/usr/share/keyrings/vscodium.gpg"
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
# Checks
|
||||
|
||||
@@ -26,7 +28,6 @@
|
||||
get_checksum: false
|
||||
get_mime: false
|
||||
register: vscodium_source_exists
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
## Install Repo ##
|
||||
|
||||
@@ -39,8 +40,7 @@
|
||||
- "echo 'deb [arch=amd64,arm64 signed-by={{ vscodium_keyfile }}] https://download.vscodium.com/debs vscodium main' \
|
||||
| sudo tee {{ vscodium_source_list }}"
|
||||
- "sudo apt update"
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
and coding == true
|
||||
when: coding == true
|
||||
and not vscodium_source_exists.stat.exists
|
||||
|
||||
## Install Package ##
|
||||
@@ -60,8 +60,7 @@
|
||||
name:
|
||||
- codium
|
||||
state: absent
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
and coding != true
|
||||
when: coding != true
|
||||
|
||||
## Remove Repo ##
|
||||
|
||||
@@ -71,6 +70,9 @@
|
||||
- "mv {{ vscodium_source_list }} ~/TRASH/"
|
||||
- "mv /etc/apt/keyrings/vscodium*.gpg ~/TRASH/"
|
||||
- "sudo apt update"
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
and coding != true
|
||||
when: coding != true
|
||||
and vscodium_source_exists.stat.exists
|
||||
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
and ansible_distribution in ("Debian", "Ubuntu")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user