Files @ c8d4251a6ea5
Branch filter:

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

branko
MAR-131: Added support for specifying Python version in wsgi_website role:

- Introduced additional role parameter for specifying the Python
version.
- Updated tests to verify new functionality.
- Fixed existing tests to account for differences between Python 2 and
Python 3 - including changes to WSGI test applications.
- Updated documentation, documenting new parameter and fixing one
minor typo.
- Updated release notes.
- Bumped default version of Gunicorn/futures used.
---

- name: Create directory for storing MariaDB database dumps
  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
  template:
    src: "dump_db.sh.j2"
    dest: "/etc/duply/main/pre.d/dump_{{ db_name }}.sh"
    owner: root
    group: root
    mode: 0700