We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cb683a commit 537e52dCopy full SHA for 537e52d
1 file changed
ansible/roles/dashmate/tasks/main.yml
@@ -255,9 +255,14 @@
255
- dashmate_version is defined
256
- (dashmate_needs_update | default(true)) or force_dashmate_reinstall | default(false)
257
258
-- name: Set dashmate config version from already extracted version
+- name: Set dashmate config version
259
ansible.builtin.set_fact:
260
- dashmate_config_version: "{{ installed_dashmate_version }}"
+ dashmate_config_version: >-
261
+ {{
262
+ dashmate_version
263
+ if dashmate_version is defined
264
+ else installed_dashmate_version
265
+ }}
266
267
# This check will return an error code if config is missing, config schema is invalid or default config is not yet set
268
- name: Check state of dashmate config
0 commit comments