- name: create cron job for root backup of proxmox ve cron: name: "proxmox / backup" cron_file: backup hour: "23" minute: "0" user: root job: "PBS_PASSWORD='{{ pbs_password }}' PBS_FINGERPRINT={{ pbs_fingerprint }} proxmox-backup-client backup root.pxar:/ --repository {{ pbs_user }}@{{ pbs_host }}:{{ pbs_datastore }}" - name: create cron job for /etc/pve backup of proxmox ve cron: name: "proxmox /etc/pve backup" cron_file: backup hour: "23" minute: "0" user: root job: "PBS_PASSWORD='{{ pbs_password }}' PBS_FINGERPRINT={{ pbs_fingerprint }} proxmox-backup-client backup pve.pxar:/etc/pve --repository {{ pbs_user }}@{{ pbs_host }}:{{ pbs_datastore }}"