infrastructure/playbooks/unlock-backup.yml
2024-10-14 03:30:59 +02:00

9 lines
252 B
YAML

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