Closed alebeta90 closed 1 year ago
ok, just now few minutes later after opening the issue I found the solution
- name: Configure VLANs
fortios_system_interface:
state: "present"
vdom: "{{ vdom }}"
system_interface:
name: "SVC"
interface: "SVC-Switch"
ip: "10.108.112.1/24"
allowaccess: "ping"
vlanid: 11
role: "lan"
vdom: "{{ vdom }}"
I needed to specify the vdom within system_interface
the vdom defined in fortios_system_interface was not enough.
Hi all,
I'm trying to create a vlan using the fortios collection
FortiOS Version:
6.2.12
FortiOS Collection:2.2.3
This is my playbook
This are the errors I can get from debugging
Somehow I can not understand from the debug information what the error is, maybe I'm missing something? I did try entering the commands directly in the Forti CLI and it does work as expected, so I'm a little bit clueless here :) any help is appreciated
Best regards