Skip to content

Instantly share code, notes, and snippets.

@AlanCoding
Created March 11, 2022 03:00
Show Gist options
  • Save AlanCoding/325a84d4121249188a573ad25249cda7 to your computer and use it in GitHub Desktop.
Save AlanCoding/325a84d4121249188a573ad25249cda7 to your computer and use it in GitHub Desktop.
[
{
"uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"counter": 1,
"stdout": "",
"start_line": 0,
"end_line": 0,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "playbook_on_start",
"pid": 2189988,
"created": "2022-03-11T01:49:51.828768",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c"
}
},
{
"uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"counter": 2,
"stdout": "\r\nPLAY [all] *********************************************************************",
"start_line": 0,
"end_line": 2,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "playbook_on_play_start",
"pid": 2189988,
"created": "2022-03-11T01:49:51.830104",
"parent_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"play": "all",
"play_uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"play_pattern": "all",
"name": "all",
"pattern": "all",
"uuid": "24418c34-c5b5-5fd0-aa34-000000000006"
}
},
{
"uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"counter": 3,
"stdout": "\r\nTASK [benthomasson.hello_role : debug] *****************************************",
"start_line": 2,
"end_line": 4,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "playbook_on_task_start",
"pid": 2189988,
"created": "2022-03-11T01:49:51.842576",
"parent_uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"play": "all",
"play_uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-8/test_include_role_events0/projects/use_role/roles/benthomasson.hello_role/tasks/main.yml:2",
"role": "benthomasson.hello_role",
"name": "benthomasson.hello_role : debug",
"is_conditional": false,
"uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"resolved_action": "ansible.builtin.debug"
}
},
{
"uuid": "b89ed6fa-9596-4b30-96a1-f719bad77998",
"counter": 4,
"stdout": "",
"start_line": 4,
"end_line": 4,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "runner_on_start",
"pid": 2189988,
"created": "2022-03-11T01:49:51.843827",
"parent_uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"play": "all",
"play_uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-8/test_include_role_events0/projects/use_role/roles/benthomasson.hello_role/tasks/main.yml:2",
"role": "benthomasson.hello_role",
"host": "testhost",
"uuid": "b89ed6fa-9596-4b30-96a1-f719bad77998"
}
},
{
"uuid": "d9bf1589-d03b-4da8-b1b7-872cf90799d0",
"counter": 5,
"stdout": "\u001b[0;32mok: [testhost] => {\u001b[0m\r\n\u001b[0;32m \"msg\": \"Hello world!\"\u001b[0m\r\n\u001b[0;32m}\u001b[0m",
"start_line": 4,
"end_line": 7,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "runner_on_ok",
"pid": 2189988,
"created": "2022-03-11T01:49:51.880655",
"parent_uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"play": "all",
"play_uuid": "24418c34-c5b5-5fd0-aa34-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-5fd0-aa34-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-8/test_include_role_events0/projects/use_role/roles/benthomasson.hello_role/tasks/main.yml:2",
"role": "benthomasson.hello_role",
"host": "testhost",
"remote_addr": "testhost",
"res": {
"msg": "Hello world!",
"_ansible_verbose_always": true,
"_ansible_no_log": null,
"changed": false
},
"start": "2022-03-11T01:49:51.843726",
"end": "2022-03-11T01:49:51.880475",
"duration": 0.036749,
"event_loop": null,
"uuid": "d9bf1589-d03b-4da8-b1b7-872cf90799d0"
}
},
{
"uuid": "ba47e680-4f01-421c-9186-1ac64a672065",
"counter": 6,
"stdout": "\r\nPLAY RECAP *********************************************************************\r\n\u001b[0;32mtesthost\u001b[0m : \u001b[0;32mok=1 \u001b[0m changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ",
"start_line": 7,
"end_line": 11,
"runner_ident": "e5cac63c-1605-43fb-a9c0-d825822bd356",
"event": "playbook_on_stats",
"pid": 2189988,
"created": "2022-03-11T01:49:51.893398",
"parent_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "170b9c04-0787-4bf1-bf53-7bec570d020c",
"changed": {},
"dark": {},
"failures": {},
"ignored": {},
"ok": {
"testhost": 1
},
"processed": {
"testhost": 1
},
"rescued": {},
"skipped": {},
"artifact_data": {},
"uuid": "ba47e680-4f01-421c-9186-1ac64a672065"
}
}
]
[
{
"uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"counter": 1,
"stdout": "",
"start_line": 0,
"end_line": 0,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "playbook_on_start",
"pid": 2192739,
"created": "2022-03-11T02:49:04.343136",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"uuid": "414595f9-ef26-4919-97f5-21923d6975bc"
}
},
{
"uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"counter": 2,
"stdout": "\r\nPLAY [all] *********************************************************************",
"start_line": 0,
"end_line": 2,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "playbook_on_play_start",
"pid": 2192739,
"created": "2022-03-11T02:49:04.344432",
"parent_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"play": "all",
"play_uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"play_pattern": "all",
"name": "all",
"pattern": "all",
"uuid": "24418c34-c5b5-4e6a-603a-000000000006"
}
},
{
"uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"counter": 3,
"stdout": "\r\nTASK [groovy.peanuts.hello : debug] ********************************************",
"start_line": 2,
"end_line": 4,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "playbook_on_task_start",
"pid": 2192739,
"created": "2022-03-11T02:49:04.358521",
"parent_uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"play": "all",
"play_uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-14/test_include_role_from_collect0/projects/collection_role/collections/ansible_collections/groovy/peanuts/roles/hello/tasks/main.yml:2",
"role": "groovy.peanuts.hello",
"name": "groovy.peanuts.hello : debug",
"is_conditional": false,
"uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"resolved_action": "ansible.builtin.debug"
}
},
{
"uuid": "681dde19-3742-4d50-824e-480c7a928d2e",
"counter": 4,
"stdout": "",
"start_line": 4,
"end_line": 4,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "runner_on_start",
"pid": 2192739,
"created": "2022-03-11T02:49:04.359205",
"parent_uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"play": "all",
"play_uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-14/test_include_role_from_collect0/projects/collection_role/collections/ansible_collections/groovy/peanuts/roles/hello/tasks/main.yml:2",
"role": "groovy.peanuts.hello",
"host": "testhost",
"uuid": "681dde19-3742-4d50-824e-480c7a928d2e"
}
},
{
"uuid": "f8a7a167-edc6-4901-805c-64c5f91a1f81",
"counter": 5,
"stdout": "\u001b[0;32mok: [testhost] => {\u001b[0m\r\n\u001b[0;32m \"msg\": \"Hello peanuts!\"\u001b[0m\r\n\u001b[0;32m}\u001b[0m",
"start_line": 4,
"end_line": 7,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "runner_on_ok",
"pid": 2192739,
"created": "2022-03-11T02:49:04.397138",
"parent_uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"play": "all",
"play_uuid": "24418c34-c5b5-4e6a-603a-000000000006",
"play_pattern": "all",
"task": "debug",
"task_uuid": "24418c34-c5b5-4e6a-603a-00000000000b",
"task_action": "debug",
"task_args": "",
"task_path": "/tmp/pytest-of-alancoding/pytest-14/test_include_role_from_collect0/projects/collection_role/collections/ansible_collections/groovy/peanuts/roles/hello/tasks/main.yml:2",
"role": "groovy.peanuts.hello",
"host": "testhost",
"remote_addr": "testhost",
"res": {
"msg": "Hello peanuts!",
"_ansible_verbose_always": true,
"_ansible_no_log": null,
"changed": false
},
"start": "2022-03-11T02:49:04.359122",
"end": "2022-03-11T02:49:04.396985",
"duration": 0.037863,
"event_loop": null,
"uuid": "f8a7a167-edc6-4901-805c-64c5f91a1f81"
}
},
{
"uuid": "de3cd694-84fd-4c19-a3fc-67c96dcd0683",
"counter": 6,
"stdout": "\r\nPLAY RECAP *********************************************************************\r\n\u001b[0;32mtesthost\u001b[0m : \u001b[0;32mok=1 \u001b[0m changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ",
"start_line": 7,
"end_line": 11,
"runner_ident": "190bbb3a-e09a-4bc0-8e61-453f26156792",
"event": "playbook_on_stats",
"pid": 2192739,
"created": "2022-03-11T02:49:04.408649",
"parent_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"event_data": {
"playbook": "use_role.yml",
"playbook_uuid": "414595f9-ef26-4919-97f5-21923d6975bc",
"changed": {},
"dark": {},
"failures": {},
"ignored": {},
"ok": {
"testhost": 1
},
"processed": {
"testhost": 1
},
"rescued": {},
"skipped": {},
"artifact_data": {},
"uuid": "de3cd694-84fd-4c19-a3fc-67c96dcd0683"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment