ubuntu@ubuntu ~ λ juju run-action np2/0 report
Action queued with id: c6548d8a-15c1-48a3-8e50-b8064bf6ab23
ubuntu@ubuntu ~ λ juju show-action-output c6548d8a-15c1-48a3-8e50-b8064bf6ab23
results:
uname: 'Linux maas1 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux'
status: completed
timing:
completed: 2016-04-20 22:54:34 +0000 UTC
enqueued: 2016-04-20 22:54:33 +0000 UTC
started: 2016-04-20 22:54:34 +0000 UTC
ubuntu@ubuntu ~ λ juju run --unit np2/0 "cat /var/lib/juju/agents/unit-np2-0/charm/actions/report"
#!/bin/sh
action-set uname="$(uname -a)"