Files @ 834c3a4d591a
Branch filter:

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

branko
MAR-218: Use built-in module for diverting the ferm binary.
---

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

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