Skip to content

Instantly share code, notes, and snippets.

@mikechau
Created November 2, 2015 01:11
Show Gist options
  • Save mikechau/03f722170d4a4b130ed0 to your computer and use it in GitHub Desktop.
Save mikechau/03f722170d4a4b130ed0 to your computer and use it in GitHub Desktop.
ok: [127.0.0.1] => {
"var": {
"docker_started_containers": {
"ansible_facts": {
"docker_containers": [
{
"Id": "49d5004432161235d759d9b92866e9e7cb07e74d5a7f19219d1ba26d6bcdc7c1",
"Warnings": null
}
]
},
"changed": true,
"containers": [
{
"Id": "49d5004432161235d759d9b92866e9e7cb07e74d5a7f19219d1ba26d6bcdc7c1",
"Warnings": null
}
],
"invocation": {
"module_args": "",
"module_complex_args": {
"detach": false,
"image": "rails_1",
"name": "r1",
"ports": [
"22:9001"
],
"state": "started"
},
"module_name": "docker"
},
"msg": "started 1 container, created 1 container.",
"reload_reasons": null,
"summary": {
"created": 1,
"killed": 0,
"pulled": 0,
"removed": 0,
"restarted": 0,
"started": 1,
"stopped": 0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment