Files @ d47bd45e61b3
Branch filter:

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

branko
MAR-163: Deduplicate tests for the preseed directory in preseed role:

- Run a single test on all three servers.
- Explicitly specify the preseed directory path (instead of using
constant).
---

- name: Configure backup patterns
  template:
    src: "backup_patterns.j2"
    dest: "/etc/duply/main/patterns/{{ backup_patterns_filename }}"
    owner: root
    group: root
    mode: 0600
  notify:
    - Assemble Duply include patterns

- name: Explicitly run all handlers
  include: ../handlers/main.yml
  when: "run_handlers | default(False) | bool()"
  tags:
    - handlers