infrastructure/playbooks/unlock-backup.yml

10 lines
252 B
YAML
Raw Normal View History

2024-10-14 01:30:59 +00:00
---
- 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 }}"