diff --git a/infrastructure/server-setup/backups.yml b/infrastructure/server-setup/backups.yml index 291b3f41c..6adbdc9a2 100644 --- a/infrastructure/server-setup/backups.yml +++ b/infrastructure/server-setup/backups.yml @@ -59,7 +59,7 @@ - backups - name: Create public key file from private key - command: ssh-keygen -y -f {{ crontab_user_home }}/.ssh/id_rsa > {{ crontab_user_home }}/.ssh/id_rsa.pub + shell: ssh-keygen -y -f '{{ crontab_user_home }}/.ssh/id_rsa' > '{{ crontab_user_home }}/.ssh/id_rsa.pub' tags: - backups