Ansible does not use !, use not instead.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
name:
|
||||
- lutris
|
||||
state: absent
|
||||
when: ansible_architecture != "aarch64" and ! gaming
|
||||
when: ansible_architecture != "aarch64" and not gaming
|
||||
|
||||
## Uninstall Repo ##
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: true
|
||||
state: absent
|
||||
when: ansible_distribution in ("Ubuntu") and ! gaming
|
||||
when: ansible_distribution in ("Ubuntu") and not gaming
|
||||
ignore_errors: true
|
||||
|
||||
- name: Workstation | Linux | Software | Lutris | Remove PPA (Debian)
|
||||
@@ -87,4 +87,4 @@
|
||||
- "mv {{ lutris_source_list }} ~/TRASH/"
|
||||
- "mv {{ lutris_keyfile }} ~/TRASH/"
|
||||
- "sudo apt update"
|
||||
when: ansible_distribution in ("Debian") and ! gaming and lutris_source_exists.stat.exists
|
||||
when: ansible_distribution in ("Debian") and not gaming and lutris_source_exists.stat.exists
|
||||
|
||||
@@ -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