Cambio output per variabili per Rundeck.
This commit is contained in:
parent
4f9aae424c
commit
18a53ad0f4
@ -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)
|
||||
|
Reference in New Issue
Block a user