3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-10-22 16:13:24 +00:00

Fix some ansible-lint-reported warnings

This commit is contained in:
Slavi Pantaleev
2022-10-25 06:43:57 +03:00
parent 9c549a185f
commit cb2fecbea9
7 changed files with 16 additions and 11 deletions

View File

@@ -28,7 +28,8 @@
- when: 'postgres_connection_string_variable_name is defined'
block:
- name: Fail if postgres_connection_string_variable_name points to an undefined variable
ansible.builtin.fail: msg="postgres_connection_string_variable_name is defined, but there is no variable with the name `{{ postgres_connection_string_variable_name }}`"
ansible.builtin.fail:
msg: "postgres_connection_string_variable_name is defined, but there is no variable with the name `{{ postgres_connection_string_variable_name }}`"
when: "postgres_connection_string_variable_name not in vars"
- name: Get Postgres connection string from variable