Ansible does not use !, use not instead.
This commit is contained in:
1 parent
864853f5dc
commit
386eb58767
3 files changed
+6
-6
No files matched your search
@@ -60,7 +60,7 @@
|
||||
name:
|
||||
- codium
|
||||
state: absent
|
||||
when: ! coding
|
||||
when: not coding
|
||||
|
||||
## Remove Repo ##
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
- "mv {{ vscodium_source_list }} ~/TRASH/"
|
||||
- "mv /etc/apt/keyrings/vscodium*.gpg ~/TRASH/"
|
||||
- "sudo apt update"
|
||||
when: ! coding
|
||||
when: not coding
|
||||
and vscodium_source_exists.stat.exists
|
||||
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
Reference in new issue
Block a user