|
|
|
1 |
22 Jul 2025 13:10:48 +0100 |
00:00:00.38 |
lineinfile
|
Append host entry to local file
|
...ansible/kuly/get_mac_addresses.yaml
:
124
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:48 +0100 |
00:00:00.50 |
lineinfile
|
Write header to file (only once, from first host)
|
...ansible/kuly/get_mac_addresses.yaml
:
115
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:47 +0100 |
00:00:00.53 |
command
|
Get MAC address
|
...ansible/kuly/get_mac_addresses.yaml
:
105
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:47 +0100 |
00:00:00.69 |
stat
|
Validate interface exists
|
...ansible/kuly/get_mac_addresses.yaml
:
99
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:46 +0100 |
00:00:00.15 |
fail
|
Fail if interface is ignored
|
...ansible/kuly/get_mac_addresses.yaml
:
94
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:46 +0100 |
00:00:00.12 |
set_fact
|
Check if physical interface is ignored
|
...ansible/kuly/get_mac_addresses.yaml
:
90
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:46 +0100 |
00:00:00.14 |
fail
|
Fail if no physical interface found from bridge
|
...ansible/kuly/get_mac_addresses.yaml
:
84
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:46 +0100 |
00:00:00.16 |
set_fact
|
Use main interface as physical if not a bridge
|
...ansible/kuly/get_mac_addresses.yaml
:
79
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:46 +0100 |
00:00:00.13 |
set_fact
|
Find first physical slave interface
|
...ansible/kuly/get_mac_addresses.yaml
:
66
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:45 +0100 |
00:00:00.13 |
command
|
Get nmcli slave connections (NAME:DEVICE:MASTER)
|
...ansible/kuly/get_mac_addresses.yaml
:
59
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:45 +0100 |
00:00:00.13 |
set_fact
|
Set is_bridge to false if nmcli failed
|
...ansible/kuly/get_mac_addresses.yaml
:
53
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:45 +0100 |
00:00:00.12 |
set_fact
|
Determine if main_interface is a bridge
|
...ansible/kuly/get_mac_addresses.yaml
:
48
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:44 +0100 |
00:00:00.62 |
command
|
Get active nmcli connections (TYPE:DEVICE)
|
...ansible/kuly/get_mac_addresses.yaml
:
41
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:44 +0100 |
00:00:00.13 |
fail
|
Fail if no default interface found
|
...ansible/kuly/get_mac_addresses.yaml
:
35
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:44 +0100 |
00:00:00.14 |
set_fact
|
Extract main interface from default route
|
...ansible/kuly/get_mac_addresses.yaml
:
26
|
...get_mac_addresses.yaml
|
0
|
|
|
|
|
1 |
22 Jul 2025 13:10:43 +0100 |
00:00:00.66 |
command
|
Get default route interface
|
...ansible/kuly/get_mac_addresses.yaml
:
20
|
...get_mac_addresses.yaml
|
0
|
|