Dear All:
I have some problem, I ran ansible fortigate backup cfg
it's file have in path but ansible have error msg
{ "msg": "Failed while reading configuration backup"}
I don't know what happened
This is my ansible
---
- hosts: localhost
gather_facts: no
vars_files:
- fortikey.yml
tasks:
- name: backup system config
fortios_config:
host: "{{host}}"
username: "{{username}}"
password: "{{password}}"
backup: yes
backup_path: "/tmp/fortigate/"
backup_filename: "backup_config.cfg"