From 18a53ad0f4fa8ec2a464be28c4e176674113d6e7 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 19 Mar 2022 22:33:56 +0100 Subject: [PATCH] Cambio output per variabili per Rundeck. --- getversions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/getversions.py b/getversions.py index e4664a5..af6ca7e 100644 --- a/getversions.py +++ b/getversions.py @@ -81,8 +81,8 @@ if __name__ == '__main__': version = a['version'] basedirurl = a['basedirurl'] - output = """query = %s -version = %s -x86 = %s -x86_64 = %s""" % (basever, version, basedirurl['x86'] or '-', basedirurl['x86_64']) + output = """RUNDECK.DATA: query = %s +RUNDECK.DATA: version = %s +RUNDECK.DATA: x86 = %s +RUNDECK.DATA: x86_64 = %s""" % (basever, version, basedirurl['x86'] or '-', basedirurl['x86_64']) print(output)