{"id":358483,"status":"ok","playbook":{"id":3319,"items":{"plays":1,"tasks":11,"results":297,"hosts":27,"files":1,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/hosts-kvm-nodes"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["get_mac_addresses.yml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-07-22T11:34:37.540023+01:00","ended":"2025-07-22T11:35:36.581020+01:00","duration":"00:00:59.040997","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"completed","path":"/home/ssh-gateway/ansible/kuly/get_mac_addresses.yml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":3678,"items":{"tasks":11,"results":297},"started":"2025-07-22T11:34:37.576611+01:00","ended":"2025-07-22T11:35:35.183889+01:00","duration":"00:00:57.607278","name":"Get MAC addresses for interfaces that are up","status":"completed"},"task":{"id":7842,"items":{"results":27},"path":"/home/ssh-gateway/ansible/kuly/get_mac_addresses.yml","tags":[],"started":"2025-07-22T11:35:00.352913+01:00","ended":"2025-07-22T11:35:24.962848+01:00","duration":"00:00:24.609935","name":"Method 3 - Use command to get interface info on Linux","uuid":"001851d0-75dc-cd4c-44d8-000000000022","action":"shell","lineno":41,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":5439},"host":{"id":141594,"name":"lon1","changed":0,"failed":0,"ok":3,"skipped":8,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"ip -o link show | awk '/state UP/ {\n  iface = $2; gsub(/:/, \"\", iface); \n  if (match($0, /link\\/ether ([0-9a-f:]+)/)) {\n    mac = substr($0, RSTART+11, RLENGTH-11);\n    print iface \",\" mac\n  }\n}'\n","delta":"0:00:00.006139","end":"2025-07-22 10:35:07.062422","failed_when_result":false,"invocation":{"module_args":{"_raw_params":"ip -o link show | awk '/state UP/ {\n  iface = $2; gsub(/:/, \"\", iface); \n  if (match($0, /link\\/ether ([0-9a-f:]+)/)) {\n    mac = substr($0, RSTART+11, RLENGTH-11);\n    print iface \",\" mac\n  }\n}'\n","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2025-07-22 10:35:07.056283","stderr":"","stderr_lines":[],"stdout":"enp1s0f1,0c:c4:7a:86:33:83\ndocker_gwbridge,fa:25:96:61:a5:73\nveth521305b@if826,72:2e:6e:fe:55:ff\nveth9443552@if850,02:f3:74:8d:8b:00\nveth16fae75@if852,ae:0f:cb:f5:ed:58\nvethd34194e@if860,0e:da:58:ae:c3:09\nveth6b56ffd@if862,c6:f4:74:58:19:54\nveth88bf7bb@if864,46:64:f4:3b:e5:ae\nveth020d9b0@if866,32:8e:3d:5b:d5:af\nveth7373168@if870,12:fc:96:66:39:22\nveth5f88645@if878,fa:37:57:6d:7a:c0","stdout_lines":["enp1s0f1,0c:c4:7a:86:33:83","docker_gwbridge,fa:25:96:61:a5:73","veth521305b@if826,72:2e:6e:fe:55:ff","veth9443552@if850,02:f3:74:8d:8b:00","veth16fae75@if852,ae:0f:cb:f5:ed:58","vethd34194e@if860,0e:da:58:ae:c3:09","veth6b56ffd@if862,c6:f4:74:58:19:54","veth88bf7bb@if864,46:64:f4:3b:e5:ae","veth020d9b0@if866,32:8e:3d:5b:d5:af","veth7373168@if870,12:fc:96:66:39:22","veth5f88645@if878,fa:37:57:6d:7a:c0"]},"created":"2025-07-22T11:35:07.681964+01:00","updated":"2025-07-22T11:35:07.681990+01:00","started":"2025-07-22T11:35:06.704284+01:00","ended":"2025-07-22T11:35:07.675183+01:00","duration":"00:00:00.970899","changed":false,"ignore_errors":false}