mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-22 07:45:19 +00:00
Stop using deprecated vars variable in all other custom roles
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4776 Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4777
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
msg: "The `{{ item }}` variable must be defined and have a non-null value."
|
||||
with_items:
|
||||
- "matrix_pantalaimon_homeserver_url"
|
||||
when: "vars[item] == '' or vars[item] is none"
|
||||
when: "lookup('vars', item, default='') == '' or lookup('vars', item, default='') is none"
|
||||
|
||||
- name: (Deprecation) Catch and report renamed Pantalaimon variables
|
||||
ansible.builtin.fail:
|
||||
|
||||
Reference in New Issue
Block a user