Hi,
I am looking to append an address in the address group of fortigate appliance using ansible , I have used the module called fortios_firewall_addrgrp but it adds the new address in and deletes the old one,
could somebody please advise a way I could keep the existing addresses and then add a new one. I want to do this remotely in an automated manner.
please help in this if you can
Kind Regards,
I'm also looking to do this... were you able to make any progress?
haroonh,
It doesn't appear to be an option in Ansible... that said, I found a python module for fortimanager that does allow it... You can create address objects with all the relevant details, add them to a group and install the policy afterward.
https://pypi.org/project/pyFortiManagerAPI/
It's incredibly fast. Best of luck.
User | Count |
---|---|
2061 | |
1175 | |
770 | |
448 | |
343 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.