Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
198a731f9e | ||
|
|
2917e32498 |
No files matched your search
+3
-1
@@ -2,9 +2,11 @@
|
|||||||
---
|
---
|
||||||
skip_list:
|
skip_list:
|
||||||
- fqcn[action-core]
|
- fqcn[action-core]
|
||||||
|
- command-instead-of-shell
|
||||||
|
- key-order[task]
|
||||||
|
|
||||||
warn_list:
|
warn_list:
|
||||||
- command-instead-of-shell
|
|
||||||
- literal-compare
|
- literal-compare
|
||||||
- ignore-errors
|
- ignore-errors
|
||||||
- no-changed-when
|
- no-changed-when
|
||||||
|
- yaml[indentation]
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
- "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: coding == true
|
when: coding
|
||||||
and not vscodium_source_exists.stat.exists
|
and not vscodium_source_exists.stat.exists
|
||||||
|
|
||||||
## Install Package ##
|
## Install Package ##
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
- codium
|
- codium
|
||||||
state: present
|
state: present
|
||||||
when: ansible_pkg_mgr == "apt"
|
when: ansible_pkg_mgr == "apt"
|
||||||
and coding == true
|
and coding
|
||||||
|
|
||||||
## Remove Package ##
|
## Remove Package ##
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
name:
|
name:
|
||||||
- codium
|
- codium
|
||||||
state: absent
|
state: absent
|
||||||
when: coding != true
|
when: ! coding
|
||||||
|
|
||||||
## Remove Repo ##
|
## Remove Repo ##
|
||||||
|
|
||||||
@@ -70,9 +70,8 @@
|
|||||||
- "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: coding != true
|
when: ! coding
|
||||||
and vscodium_source_exists.stat.exists
|
and vscodium_source_exists.stat.exists
|
||||||
|
|
||||||
when: ansible_pkg_mgr == "apt"
|
when: ansible_pkg_mgr == "apt"
|
||||||
and ansible_distribution in ("Debian", "Ubuntu")
|
and ansible_distribution in ("Debian", "Ubuntu")
|
||||||
|
|
||||||
Reference in new issue
Block a user