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
|
||||
|
||||
Reference in New Issue
Block a user