Project

General

Profile

Actions

Bug #9115

open

non-interactive mode for version reporting now working when using ansible

Added by Mark Scrano over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/06/2021
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Windows
Debug Log:
I read the instructions above:

Description

I am unable to get the --version command to work in a non-interactive shell. I am using Ansible to download and install -> compile chirp. It would be great to be able to detect the version number for comparison with the LATEST download available. I have tried a few different times/ways to report the version to no avail, is there another way to report the version number in my use case?
Thanks
ok: [localhost] => {
"msg": {
"changed": false,
"cmd": "python /usr/local/bin/chirpw --version",
"delta": "0:00:01.119130",
"end": "2021-06-06 20:32:17.009644",
"failed": false,
"failed_when_result": false,
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-06 20:32:15.890514",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
}
ok: [localhost] => {
"msg": {
"changed": false,
"cmd": "/usr/local/bin/chirpw --version",
"delta": "0:00:01.114501",
"end": "2021-06-06 20:53:35.871207",
"failed": false,
"failed_when_result": false,
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-06 20:53:34.756706",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
}

Actions

Also available in: Atom PDF