Ansible does not use !, use not instead.
This commit is contained in:
@@ -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