Ansible does not use !, use not instead.
This commit is contained in:
@@ -428,7 +428,7 @@
|
|||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | Exit Check
|
- name: General | Account Management | Provisioning Configuration | Exit Check
|
||||||
shell: echo "Please configure the config files in {{ prov_dir }} then try again." && exit 1
|
shell: echo "Please configure the config files in {{ prov_dir }} then try again." && exit 1
|
||||||
when: ! provision
|
when: not provision
|
||||||
|
|
||||||
|
|
||||||
## Display values ##
|
## Display values ##
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
name:
|
name:
|
||||||
- lutris
|
- lutris
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_architecture != "aarch64" and ! gaming
|
when: ansible_architecture != "aarch64" and not gaming
|
||||||
|
|
||||||
## Uninstall Repo ##
|
## Uninstall Repo ##
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
repo: ppa:lutris-team/lutris
|
repo: ppa:lutris-team/lutris
|
||||||
update_cache: true
|
update_cache: true
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_distribution in ("Ubuntu") and ! gaming
|
when: ansible_distribution in ("Ubuntu") and not gaming
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | Lutris | Remove PPA (Debian)
|
- name: Workstation | Linux | Software | Lutris | Remove PPA (Debian)
|
||||||
@@ -87,4 +87,4 @@
|
|||||||
- "mv {{ lutris_source_list }} ~/TRASH/"
|
- "mv {{ lutris_source_list }} ~/TRASH/"
|
||||||
- "mv {{ lutris_keyfile }} ~/TRASH/"
|
- "mv {{ lutris_keyfile }} ~/TRASH/"
|
||||||
- "sudo apt update"
|
- "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:
|
name:
|
||||||
- codium
|
- codium
|
||||||
state: absent
|
state: absent
|
||||||
when: ! coding
|
when: not coding
|
||||||
|
|
||||||
## Remove Repo ##
|
## Remove Repo ##
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
- "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
|
when: not coding
|
||||||
and vscodium_source_exists.stat.exists
|
and vscodium_source_exists.stat.exists
|
||||||
|
|
||||||
when: ansible_pkg_mgr == "apt"
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
|||||||
Reference in New Issue
Block a user