Files @ 770551dc8c6f
Branch filter:

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

branko
MAR-148: Improve the SSH connectivity tests in backup_server role to be more reliable:

- Introduce a session-level fixture for setting permissions for client
SSH private keys (fixes errors related to SSH requesting tighter
permissions).
- Add assertions for the tests that verify the backup clients cannot
connect to the regular SSH server in case the SSH private keys do
not have correct permissions (just in case).
---

- 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