fortinet-solutions-cse / 40ansible

Ansible modules and examples for Fortinet products using the REST API
https://fndn.fortinet.net
Apache License 2.0
79 stars 44 forks source link

Backup_path for config backup #34

Closed ciscler closed 5 years ago

ciscler commented 5 years ago

Hi all,

is there a way to define the path where ansible is storing the Fortigate Configuration files?

best Regards,

migumun commented 5 years ago

Hi @ciscler, You can use the filename attribute as shown below to specify a full path. https://github.com/fortinet-solutions-cse/40ansible/blob/f12b834e4a873828ed5c2812cd234c9477d31270/examples/fortigate_backup_config.yml#L18