Files @ 74b1cab547fc
Branch filter:

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

branko
MAR-122: Fixed handling of complex package versions for pip with Ansible 2.x:

- Use list for installing specific version of pip in the "pipreqcheck" virtual
environment in common role.
- Removed superficious (and incorrect) definition for application admin username
in wsgi_website role.
- Updated test playbook for wsgi_website role to test the fix.
- Switched to passing-in package list for installing packages in virtual
environment instead of using "with_items" in wsgi_website role.
---

- 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