40ansible
40ansible copied to clipboard
module fortios_router_prefix_list module does not work
The module fortios_router_prefix_list does not actually add or modify router prefixes to FortiGate. The underlying API call requires the parameter 'plugin : 1' for the changes to be accepted.
This is also reported in the Developer Network https://fndn.fortinet.net/index.php?/forums/topic/1995-fortios-rest-api-config-router-prefix-list-issuebug/
@dgeisau Thank you! The feature is under development and will be updated to Ansible repo soon.
There an ETA for this resolution? It does not make sense to use the route-map module if then I cannot associate prefix-list or ACL to it using the same tool.
Thanks L
@l0renzor I might be wrong but I think that the development of the fortios modules has been moved here: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection
Hi @dgeisau,
We've fixed the issues in the module of fortios_router_prefix_list.
Playbook:
Results after running the playbook:
Let me know if you have any questions.