In older versions of Ansible, the backup file was created, but there was a bug in Ansible that caused the file name to not be registered in the module output.
In the latest version of Ansible, this backup file name is correctly registered, but the task that uses the copy module to restore configuration.yaml backup in fail2ban role is expecting it to be on the control server. The task just needs to be updated to specify remote_src: true
In older versions of Ansible, the backup file was created, but there was a bug in Ansible that caused the file name to not be registered in the module output.
In the latest version of Ansible, this backup file name is correctly registered, but the task that uses the copy module to restore configuration.yaml backup in fail2ban role is expecting it to be on the control server. The task just needs to be updated to specify
remote_src: true