Files @ c063f27000b9
Branch filter:

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

branko
MAR-175: Mail server should be opportunistic in using TLS when delivering mail to remove servers:

- Previously the mail server would only deliver mails over plaintext.
- Deploy a simple SMTP server on both client1/client2
machines. Servers are set-up to require/refuse the STARTTLS over
SMTP.
- Added tests for checking if STARTTLS is used when available for mail
delivery.
- Fixed the wrong configurtion (making sure the TLS security level is
properly set for Postfix).
---

- name: Create directory for storing LDAP database dumps
  file:
    path: "{{ item }}"
    state: directory
    owner: root
    group: root
    mode: 0700
  with_items:
    - "/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: 0700