Files @ 66da094b2fca
Branch filter:

Location: majic-ansible-roles/roles/ldap_server/tasks/backup.yml

branko
MAR-96: Moved setting of facts for gpg/gpg2 binary detection in backup_client role into separate yml file. Assigned the handlers tag to it to make sure the facts are available when only handlers get executed.
---

- name: Create directory for storing LDAP database dumps
  file: path="{{ item }}" state=directory
        owner=root group=root mode=700
  with_items:
    - "/srv"
    - "/srv/backup"

- name: Deploy script for creating LDAP database backup dumps
  copy: src="ldapdump.sh" dest="/etc/duply/main/pre.d/ldapdump.sh"
        owner=root group=root mode=700