From 530bf56fa01e95de436752f37fbc0db321992f86 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Wed, 30 Oct 2024 14:50:56 +0100 Subject: [PATCH] apps: fix invalid varname breaking apps deployment --- molecule/colocated_cluster/converge.yml | 1 + molecule/prospero/converge.yml | 2 ++ roles/wildfly_utils/tasks/app.yml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/molecule/colocated_cluster/converge.yml b/molecule/colocated_cluster/converge.yml index 023a58be..e531d1f0 100644 --- a/molecule/colocated_cluster/converge.yml +++ b/molecule/colocated_cluster/converge.yml @@ -13,6 +13,7 @@ hosts: all vars_files: - vars.yml + - ../apps.yml vars: wildfly_remote_destination_outbound_socket_binding: wildfly0: diff --git a/molecule/prospero/converge.yml b/molecule/prospero/converge.yml index 12ea91ec..2ad18388 100644 --- a/molecule/prospero/converge.yml +++ b/molecule/prospero/converge.yml @@ -1,6 +1,8 @@ --- - name: Converge hosts: all + vars_files: + - ../apps.yml vars: wildfly_install_user: 'wildfly' wildfly_install_group: "{{ wildfly_install_user }}" diff --git a/roles/wildfly_utils/tasks/app.yml b/roles/wildfly_utils/tasks/app.yml index 785c76a7..4df17c01 100644 --- a/roles/wildfly_utils/tasks/app.yml +++ b/roles/wildfly_utils/tasks/app.yml @@ -22,7 +22,7 @@ become: "{{ wildfly_apps_requires_privilege_escalation }}" ansible.builtin.stat: path: "{{ wildfly_basedir }}/tmp/{{ app_to_deploy.name | default(app_to_deploy.path | basename) }}" - register: app_to_deploy_marker + register: app_marker - name: "Ensure that app {{ app.name }} is available" ansible.builtin.include_role: