diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/metacluster/tasks/json-server.yml b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/metacluster/tasks/json-server.yml index 6793e04..ad529d8 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/metacluster/tasks/json-server.yml +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/metacluster/tasks/json-server.yml @@ -31,13 +31,11 @@ values: | {{ components['json-server'].chart_values | - combine( { - 'jsonServer': { - 'seedData': { - 'configInline': (components['json-server'].chart_values.jsonServer.seedData.configInline | combine( { 'components': manifest_versions } ) | to_json) - } - } - } ) + combine( { 'jsonServer': { 'seedData': { 'configInline': ( + components['json-server'].chart_values.jsonServer.seedData.configInline | + combine( { 'components': manifest_versions }, { 'appliance': { "version": appliance.version } } ) | + to_json + ) } } } ) }} - name: Ensure json-server API availability diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index 8cfe1e2..f62acc8 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -192,7 +192,7 @@ components: seedData: configInline: | { - "appliance": { "version": "{{ appliance.version }}" }, + "appliance": {}, "components": [], "healthz": { "status": "running" } }