mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Add ansible command, fix import error in runner
This commit is contained in:
parent
0321afb1e3
commit
7de661dd2c
3 changed files with 58 additions and 0 deletions
|
@ -51,6 +51,11 @@ except:
|
|||
endd = datetime.datetime.now()
|
||||
delta = endd - startd
|
||||
|
||||
if out is None:
|
||||
out = ''
|
||||
if err is None:
|
||||
err = ''
|
||||
|
||||
result = {
|
||||
"stdout" : out,
|
||||
"stderr" : err,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue