mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
There is a new backup role in the roles folder:
roles/ipabackup
This role allows to backup an IPA server, to copy a backup from the
server to the controller, to copy all backups from the server to the
controller, to remove a backup from the server, to remove all backups
from the server, to restore an IPA server locally and from the controller
and also to copy a backup from the controller to the server.
Here is the documentation for the role:
roles/ipabackup/README.md
New example playbooks have been added:
playbooks/backup-server.yml
playbooks/backup-server-to-controller.yml
playbooks/copy-backup-from-server.yml
playbooks/copy-all-backups-from-server.yml
playbooks/remove-backup-from-server.yml
playbooks/remove-all-backups-from-server.yml
playbooks/copy-backup-to-server.yml
playbooks/restore-server-from-controller.yml
playbooks/restore-server.yml
13 lines
268 B
YAML
13 lines
268 B
YAML
---
|
|
- name: Playbook to copy a backup from controller to the IPA server
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
vars:
|
|
ipabackup_name: ipaserver.test.local_ipa-full-2020-10-22-11-11-44
|
|
ipabackup_from_controller: yes
|
|
|
|
roles:
|
|
- role: ipabackup
|
|
state: copied
|