infrastructure/playbooks/unlock-backup.yml
2025-01-09 02:15:33 +01:00

9 lines
251 B
YAML

---
- name: Unlock backups
hosts: serguzim_net
become: true
tasks:
- name: Unlock backups
ansible.builtin.shell:
cmd: autorestic unlock --force && autorestic exec -va unlock
chdir: "{{ (services_path, 'backup') | path_join }}"