ansible-nas/roles/mymediaforalexa/tasks/main.yml
2021-02-05 22:33:05 -09:00

21 lines
603 B
YAML

---
- name: Create Mymediaforalexa Directories
file:
path: "{{ item }}"
state: directory
# mode: 0755
with_items:
- "{{ mymediaforalexa_media_directory }}"
- "{{ mymediaforalexa_data_directory }}"
- name: mymediaforalexa Docker Container
docker_container:
name: mymediaforalexa
image: bizmodeller/mymediaforalexa
pull: true
volumes:
- "{{ mymediaforalexa_media_directory }}:/medialibrary:rw"
- "{{ mymediaforalexa_data_directory }}:/datadir:rw"
network_mode: "host"
restart_policy: unless-stopped
memory: "{{ mymediaforalexa_memory }}"