Execution
Date
22 Jul 2025 11:34:37 +0100
Duration
00:00:59.04
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.2 / 1.7.2
Python
3.10.10
Summary
27
Hosts
11
Tasks
297
Results
1
Plays
1
Files
0
Records
Task result details
-
Date22 Jul 2025 11:35:07 +0100
-
Module / Actionshell (/home/ssh-gateway/ansible/kuly/get_mac_addresses.yml:41)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
ip -o link show | awk '/state UP/ {
iface = $2; gsub(/:/, "", iface);
if (match($0, /link\/ether ([0-9a-f:]+)/)) {
mac = substr($0, RSTART+11, RLENGTH-11);
print iface "," mac
}
}'
|
| 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 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 |
| 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" ] |