README: Add full crontab entry.
This commit is contained in:
parent
e31b9b260d
commit
5d1d316450
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue