Fix IPA backup playbook

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-09-14 13:28:30 +02:00
parent cb2069decf
commit fa775d6538
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -7,6 +7,8 @@
tasks:
- name: create backup of FreeIPA server data
command: ipa-backup
- name: make the latest backup available under a fixed name
chdir: /var/lib/ipa/backup
shell: ln -snf $(ls -1t ipa-full* | head -n 1) ipa-full-latest
shell:
cmd: ln -snf $(ls -1t ipa-full* | head -n 1) ipa-full-latest
chdir: /var/lib/ipa/backup