Files @ 3c03c2ea9d2a
Branch filter:

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

branko
MAR-128: Upgraded tests for bootstrap role:

- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Fixed some linting issues.
---

- 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: "handlers | default(False) | bool() == True"
  tags:
    - handlers