Skip to content

Instantly share code, notes, and snippets.

@sfc-gh-eraigosa
Created November 7, 2014 23:28
Show Gist options
  • Save sfc-gh-eraigosa/9897e2eeb0c9e07de649 to your computer and use it in GitHub Desktop.
Save sfc-gh-eraigosa/9897e2eeb0c9e07de649 to your computer and use it in GitHub Desktop.
[ root@a9d91db18b1d:~ ]$ st2 run core.local 'bash -c date'
...
+-----------------+---------------------------------------------------------+
| Property | Value |
+-----------------+---------------------------------------------------------+
| id | 545d558031851a033c97847d |
| context | { |
| | "user": "stanley" |
| | } |
| parameters | { |
| | "cmd": "bash -c date" |
| | } |
| status | failed |
| start_timestamp | 2014-11-07T23:28:00.490000Z |
| result | { |
| | "localhost": { |
| | "failed": true, |
| | "stderr": "", |
| | "return_code": 254, |
| | "succeeded": false, |
| | "stdout": "Welcome to Ubuntu 14.04.1 LTS |
| | (GNU/Linux 3.11.0-26-generic x86_64)\n\n * |
| | Documentation: https://help.ubuntu.com/" |
| | } |
| | } |
| action | core.local |
| callback | |
+-----------------+---------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment