Closed JonTheNiceGuy closed 3 years ago
hi @JonTheNiceGuy Jon,
do you remember what specific FortiOS version you saw execute__tree.reboot
or diagnose__tree.settings
in?
we generated collection based on following FortiOS major version: https://ansible-galaxy-fortios-docs.readthedocs.io/en/latest/release.html#release-targets
I did not search them in their corresponding schema files.
so I guess the selector you missed must be existing in earlier versions. I am not sure.
thanks, Link
This relates to https://github.com/fortinet-ansible-dev/fortios-ansible-generator/pull/19 which has just been merged :)
fixed in latest document: https://ansible-galaxy-fortios-docs.readthedocs.io/en/latest/fortios_configuration_fact.html
I have tried using
execute__tree__reboot
as the selector forfortinet.fortios.fortios_configuration_fact
, but when I got a Traceback, and checked the code, I noticed that all the selectors containing the string__
(e.g.diagnose__tree___settings
, orexecute__tree__reboot
) are not listed, so there is a mismatch between the selector list and the code.