Compare commits
2 Commits
f756182d12
...
a1935588a4
| Author | SHA1 | Date | |
|---|---|---|---|
| a1935588a4 | |||
| 44060a6d1d |
@@ -23,6 +23,7 @@
|
|||||||
enabled: yes
|
enabled: yes
|
||||||
when: ansible_virtualization_type != 'docker'
|
when: ansible_virtualization_type != 'docker'
|
||||||
and ansible_service_mgr == "runit"
|
and ansible_service_mgr == "runit"
|
||||||
|
ignore_errors: true # Service module seems experimental for this init system.
|
||||||
|
|
||||||
## SSHD ##
|
## SSHD ##
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,9 @@
|
|||||||
- "echo 'deb [arch=amd64,arm64 signed-by={{ vscodium_keyfile }}] https://download.vscodium.com/debs vscodium main' \
|
- "echo 'deb [arch=amd64,arm64 signed-by={{ vscodium_keyfile }}] https://download.vscodium.com/debs vscodium main' \
|
||||||
| sudo tee {{ vscodium_source_list }}"
|
| sudo tee {{ vscodium_source_list }}"
|
||||||
- "sudo apt update"
|
- "sudo apt update"
|
||||||
when: ansible_pkg_mgr == "apt" and coding == true and not vscodium_source_exists.stat.exists
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
and coding == true
|
||||||
|
and not vscodium_source_exists.stat.exists
|
||||||
|
|
||||||
## Install Package ##
|
## Install Package ##
|
||||||
|
|
||||||
@@ -48,7 +50,8 @@
|
|||||||
name:
|
name:
|
||||||
- codium
|
- codium
|
||||||
state: present
|
state: present
|
||||||
when: ansible_pkg_mgr == "apt" and coding == true
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
and coding == true
|
||||||
|
|
||||||
## Remove Package ##
|
## Remove Package ##
|
||||||
|
|
||||||
@@ -57,7 +60,8 @@
|
|||||||
name:
|
name:
|
||||||
- codium
|
- codium
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_pkg_mgr == "apt" and coding != true
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
and coding != true
|
||||||
|
|
||||||
## Remove Repo ##
|
## Remove Repo ##
|
||||||
|
|
||||||
@@ -67,4 +71,6 @@
|
|||||||
- "mv {{ vscodium_source_list }} ~/TRASH/"
|
- "mv {{ vscodium_source_list }} ~/TRASH/"
|
||||||
- "mv /etc/apt/keyrings/vscodium*.gpg ~/TRASH/"
|
- "mv /etc/apt/keyrings/vscodium*.gpg ~/TRASH/"
|
||||||
- "sudo apt update"
|
- "sudo apt update"
|
||||||
when: ansible_pkg_mgr == "apt" and coding != true and vscodium_source_exists.stat.exists
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
and coding != true
|
||||||
|
and vscodium_source_exists.stat.exists
|
||||||
|
|||||||
Reference in New Issue
Block a user