Closed patrickpreuss closed 1 year ago
Hi @patrickpreuss ,
If you want to get the mac address of each port, fortios_monitor_fact module may help. Let me know if you still have other question.
- name: fact gathering
fortios_monitor_fact:
vdom: "root"
access_token: "6Hjrf1GHzNsw837wdwnxNNwN0b8f8t"
selector: 'system_available-interfaces'
register: info
- name: display vars
debug: msg="{{info}}"
Thanks, Maxx
I will go ahead to close this case, if you still have questions, feel free to reopen it or another case.
With collection: fortinet.fortios:2.2.2 Fortigate 60E / OS 7.2.4
and task
only interface "internal" does contain a macaddress.