README: Add full crontab entry.

This commit is contained in:
Viyurz 2024-02-23 09:46:48 +01:00
parent e31b9b260d
commit 5d1d316450
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -26,7 +26,7 @@ Run the `backup-services.yml` playbook once to setup the passphrase file.
After that, you can create a root cronjob to run this playbook without requiring interactivity: After that, you can create a root cronjob to run this playbook without requiring interactivity:
``` ```
ANSIBLE_ROLES_PATH=/home/viyurz/vps/roles/ ansible-playbook /home/viyurz/vps/playbooks/backup-services.yml -e include_secrets=false -e selected_projects='' 0 4 * * * export ANSIBLE_ROLES_PATH=/home/viyurz/vps/roles/; /usr/bin/ansible-playbook /home/viyurz/vps/playbooks/backup-services.yml -e include_secrets=false -e selected_projects=''
``` ```
Here we leave `selected_projects` empty to backup all projects. Here we leave `selected_projects` empty to backup all projects.