Fix IPA backup playbook
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
cb2069decf
commit
fa775d6538
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: create backup of FreeIPA server data
|
- name: create backup of FreeIPA server data
|
||||||
command: ipa-backup
|
command: ipa-backup
|
||||||
|
|
||||||
- name: make the latest backup available under a fixed name
|
- name: make the latest backup available under a fixed name
|
||||||
chdir: /var/lib/ipa/backup
|
shell:
|
||||||
shell: ln -snf $(ls -1t ipa-full* | head -n 1) ipa-full-latest
|
cmd: ln -snf $(ls -1t ipa-full* | head -n 1) ipa-full-latest
|
||||||
|
chdir: /var/lib/ipa/backup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue