Is your feature request related to a problem? Please describe.
I had to re-image the SDcard for the frontend PI. As the APP install was covered via ansible, prod config was in backup, I totally lost my prometheus / grafana config and dashboards of my monitoring solution which was also located on the frontend-pi.
Describe the solution you'd like
1) Establish a cron job which will backup the config on my mac. Monthly basis is sufficient.
2) Add a ansible deployment which will create the user / config dir / and copies the backuped configuration back to the pis.
Ideally the backup from 1) would be stored directly into my checkout project dir (ansible assets dir)
Additional context
Take care on grafana prod config as it contains the sensible admin secret.
Is your feature request related to a problem? Please describe.
I had to re-image the SDcard for the frontend PI. As the APP install was covered via ansible, prod config was in backup, I totally lost my prometheus / grafana config and dashboards of my monitoring solution which was also located on the frontend-pi.
Describe the solution you'd like
1) Establish a cron job which will backup the config on my mac. Monthly basis is sufficient. 2) Add a ansible deployment which will create the user / config dir / and copies the backuped configuration back to the pis.
Ideally the backup from 1) would be stored directly into my checkout project dir (ansible assets dir)
Additional context Take care on grafana prod config as it contains the sensible admin secret.