243 lines
5.2 KiB
Text
243 lines
5.2 KiB
Text
{
|
|
"events": [
|
|
"start",
|
|
[
|
|
"play start",
|
|
[
|
|
"all"
|
|
]
|
|
],
|
|
[
|
|
"primary_setup"
|
|
],
|
|
[
|
|
"secondary_setup"
|
|
],
|
|
[
|
|
"import",
|
|
[
|
|
"127.0.0.1",
|
|
"/home/mdehaan/ansible/test/common_vars.yml"
|
|
]
|
|
],
|
|
[
|
|
"import",
|
|
[
|
|
"127.0.0.1",
|
|
"/home/mdehaan/ansible/test/CentOS.yml"
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test basic success command",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": [
|
|
"/bin/true"
|
|
],
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": ""
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test basic success command 2",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": [
|
|
"/bin/true"
|
|
],
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": ""
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test basic shell, plus two ways to dereference a variable",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": "echo $HOME 5150 5150 ",
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": "/root 5150 5150"
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test vars_files imports",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": "echo quack moo default ",
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": "quack moo default"
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test copy",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"changed": true,
|
|
"group": "root",
|
|
"mode": 420,
|
|
"path": "/tmp/ansible_test_data_copy.out",
|
|
"state": "file",
|
|
"user": "root"
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"test template",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"changed": true,
|
|
"group": "root",
|
|
"mode": 420,
|
|
"path": "/tmp/ansible_test_data_template.out",
|
|
"state": "file",
|
|
"user": "root"
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"async poll test",
|
|
false
|
|
]
|
|
],
|
|
[
|
|
"async poll",
|
|
[
|
|
"127.0.0.1"
|
|
]
|
|
],
|
|
[
|
|
"async poll",
|
|
[
|
|
"127.0.0.1"
|
|
]
|
|
],
|
|
[
|
|
"async poll",
|
|
[
|
|
"127.0.0.1"
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": "sleep 5 ",
|
|
"finished": 1,
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": ""
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"on change 1",
|
|
true
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": [
|
|
"/bin/true"
|
|
],
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": ""
|
|
}
|
|
]
|
|
],
|
|
[
|
|
"task start",
|
|
[
|
|
"on change 2",
|
|
true
|
|
]
|
|
],
|
|
[
|
|
"ok",
|
|
[
|
|
"127.0.0.1",
|
|
{
|
|
"cmd": [
|
|
"/bin/true"
|
|
],
|
|
"rc": 0,
|
|
"stderr": "",
|
|
"stdout": ""
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"results": {
|
|
"127.0.0.1": {
|
|
"changed": 2,
|
|
"dark": 0,
|
|
"failed": 0,
|
|
"resources": 9,
|
|
"skipped": 0
|
|
}
|
|
}
|
|
}
|
|
|