jhampson-dbre / home_assistant

Ansible collection for related Home Assistant roles
MIT License
12 stars 5 forks source link

Error restoring configuration.yaml from backup #47

Open jhampson-dbre opened 2 years ago

jhampson-dbre commented 2 years ago

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