Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of check_mode supported modules #311

Open
an-st5 opened this issue May 3, 2024 · 3 comments
Open

List of check_mode supported modules #311

an-st5 opened this issue May 3, 2024 · 3 comments

Comments

@an-st5
Copy link

an-st5 commented May 3, 2024

Hello All
I would like to know if there is a list which indicates the support of check_mode for the possible specific fortinet.fortios modules? Unfortunately i was not able to locate/find the information in the documentation.

Version used
2.3.6

Problem faced:
I was not able to use check mode with fortinet.fortios.fortios_system_global (error msg indicates it is not supported).
However the playbook itself is working properly when executed without check_mode.

Add. info
Check_mode itself is very important regarding our internal requirements. We would like to combine it with diff for config review purposes.

Many thanks for your help

Best Regards
an-st5

@MaxxLiu22
Copy link

Hi @an-st5 ,

Thank you for raising this issue. I have reported it to the development team, and they will provide a way to indicate which module will be supported with the check_mode function. Additionally, the latest Ansible FOS check_mode feature has an issue that may be causing a problem #309 . We will fix that soon as well.

Thanks,
Maxx

@MaxxLiu22
Copy link

MaxxLiu22 commented May 20, 2024

Hi @an-st5 ,

I just received a list of modules that support the check mode feature. For now, you can use it temporarily, and we will note that information in our documentation soon.
check_mode_modules.json

Thanks,
Maxx

@MaxxLiu22
Copy link

Hi @dominicfillmore ,

We just released Ansible FOS 2.3.7. This issue should be fixed, so you could upgrade to it and give it a try at your convenience. and we also improve our DOC to introduce check mode function, for modules that support check mode function, we add a note at Notes section
image

ansible-galaxy collection install fortinet.fortios:2.3.7

Thanks,
Maxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants