New module fstore to backup files using IPA client sysrestore

- Backup ipa default conf
- Backup krb5.conf
This commit is contained in:
Thomas Woerner
2017-08-31 18:45:28 +02:00
parent 893e32b7c6
commit 20538cc86e
3 changed files with 83 additions and 6 deletions

View File

@@ -3,12 +3,9 @@
package: name="{{ item }}" state=present
with_items: "{{ krb5_packages }}"
# No backup in ipa-client-install mode
#- name: Backup {{ krb5_conf }}
# copy:
# src: "{{ krb5_conf }}"
# dest: "{{ krb5_conf }}.bkp"
# force: no
- name: Install - Backup krb5.conf
fstore:
backup: "{{ krb5_conf }}"
- name: Template krb5.conf
template: