backup/tasks/requirements.yml

23 lines
459 B
YAML
Raw Permalink Normal View History

2022-09-07 17:53:38 +02:00
---
- name: apt update cache
apt:
update_cache: yes
cache_valid_time: 86400
2023-03-07 11:28:40 +01:00
- name: Install package for s3 backend
2023-03-07 11:31:25 +01:00
apt:
name: python3-boto
state: present
2023-03-07 11:28:40 +01:00
tags: ['backup_duplicity']
2023-03-07 11:33:39 +01:00
- name: Install package for s3 backend
ansible.builtin.pip:
name: boto
tags: ['backup_duplicity']
2023-04-26 15:55:54 +02:00
- name: Install package for azure backend
ansible.builtin.pip:
name: azure
when: duplicity_backend == 'azure'
tags: ['backup_duplicity']