2019-03-01 20:59:43 +00:00
|
|
|
- name: Create get_iplayer Directories
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
with_items:
|
|
|
|
- "{{ get_iplayer_config_directory }}"
|
|
|
|
- "{{ get_iplayer_download_directory }}"
|
|
|
|
|
|
|
|
- name: get_iplayer Docker Container
|
|
|
|
docker_container:
|
|
|
|
name: get_iplayer
|
|
|
|
image: kolonuk/get_iplayer
|
|
|
|
pull: true
|
|
|
|
volumes:
|
|
|
|
- "{{ get_iplayer_config_directory }}:/root/.get_iplayer:rw"
|
|
|
|
- "{{ get_iplayer_download_directory }}:/root/output:rw"
|
|
|
|
ports:
|
2020-01-05 21:47:40 +00:00
|
|
|
- "{{ get_iplayer_port }}:8181"
|
2019-03-01 20:59:43 +00:00
|
|
|
restart_policy: unless-stopped
|
|
|
|
memory: 1g
|
|
|
|
|