Files @ 5ee6fc8d3513
Branch filter:

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

branko
MAR-218: Force handler execution during testing for consistency:

- Otherwise it can easily happen that some handlers never run, leaving
the machine in inconsistent state until they are run by hand.
---

- name: Configure backup patterns
  ansible.builtin.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
  ansible.builtin.include_tasks: ../handlers/main.yml
  when: "run_handlers | default(False) | bool()"
  tags:
    - handlers