2017-08-28 15:31:54 +00:00
|
|
|
---
|
|
|
|
- name: Create Duplicati Directory
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
with_items:
|
|
|
|
- "{{ duplicati_data_directory }}"
|
|
|
|
|
|
|
|
- name: Dupicati Docker Container
|
|
|
|
docker_container:
|
|
|
|
name: duplicati
|
|
|
|
image: linuxserver/duplicati
|
|
|
|
pull: true
|
|
|
|
ports:
|
|
|
|
- "8200:8200"
|
|
|
|
volumes:
|
|
|
|
- "{{ duplicati_data_directory }}:/config:rw"
|
2018-04-08 22:29:25 +00:00
|
|
|
- "{{ samba_shares_root }}:/source/shares:ro"
|
|
|
|
- "{{ docker_home }}:/source/docker:ro"
|
2017-08-28 15:31:54 +00:00
|
|
|
- "/etc/timezone:/etc/timezone:ro"
|
|
|
|
restart_policy: unless-stopped
|
2018-04-08 22:29:25 +00:00
|
|
|
memory: 1g
|