-
Notifications
You must be signed in to change notification settings - Fork 47
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
"Error in repo" using fortios_firewall_policy module #289
Comments
Hi Adrien, The policyid: "0" is not longer supported with ansible module, you need to specify an id |
Hi Adrien, the solution will be to get/set a fact with the highest policyid configured actually |
Hi Alexis, Thanks for your feedback. Indeed I made additional tasks in order to fetch all policy and then find the first available ID. Here it is if it can help someone :
where range_limit is a playbook variable. So all is good for me now, I will close the issue ;). Thanks again for the help ! Adrien |
Hi guys,
I have recently upgraded Tower from 3.8.4 to AAP 2.4 (Ansible 2.15.5) and I have now an issue running a playbook while it was working just fine on Tower 3.8.4 (Ansible 2.9).
I am using fortinet.fortios ansible galaxy collection v2.3.4.
My Fortigate is running on v7.0.12
This playbook ends with following error :
Here's below the associated Ansible task code :
What is strange is that fortios_firewall_address, fortios_firewall_ippool and fortios_firewall_vip modules are working perfectly and are able to create related config on the Fortigate.
Issue is happening for fortios_firewall_policy module only.
I have activated some https debug on the Fortigate and I can see the following error message :
Why I have this error message
no method found for requested action: (null)
while other modules works perfectly ?Thanks in advance for your help and don't hesitate if you need additional infos ;) !
Best Regards,
Adrien
The text was updated successfully, but these errors were encountered: