Solved
VDOM Global
If the Fortigate have multiple vdom, can we directly enter to the vdom global without issuing 'config global'?
Currently when i ssh to the fortigate i must enter that command first before i can execute 'get system global'
If the Fortigate have multiple vdom, can we directly enter to the vdom global without issuing 'config global'?
Currently when i ssh to the fortigate i must enter that command first before i can execute 'get system global'
I think your question is not to FGT side but to Ansible side, which I don't know well.
But there should be some discussion how to interactively exchange commands and get responses over SSH using Ansible. My quick search found this.
https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256/3
Toshi
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.