Files @ da53a3aa5208
Branch filter:

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

branko
MAR-218: Fix the test run logic in test runner script:

- Linter tests should _always_ be run.
- Test report files should be appended to when using tee.
- Get rid of excess molecule destroy (probably not required any
longer). This will reduce the output and speed up things a little
bit.
---

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

- name: Deploy script for creating database backup dumps
  ansible.builtin.template:
    src: "dump_db.sh.j2"
    dest: "/etc/duply/main/pre.d/dump_{{ db_name }}.sh"
    owner: root
    group: root
    mode: "0700"