2021-02-25 19:56:31 +01:00
|
|
|
---
|
2021-02-25 23:41:11 +01:00
|
|
|
- name: Ensure dependency is present
|
|
|
|
apt:
|
|
|
|
name: python3-docker
|
|
|
|
state: present
|
|
|
|
|
2021-02-25 19:56:31 +01:00
|
|
|
- name: Grab official docker image and start it
|
|
|
|
docker_container:
|
2021-02-25 23:41:11 +01:00
|
|
|
name: bibliogram
|
2021-02-25 19:56:31 +01:00
|
|
|
image: cloudrac3r/bibliogram
|
2021-02-25 23:41:11 +01:00
|
|
|
restart_policy: always
|
2021-02-25 19:56:31 +01:00
|
|
|
pull: yes
|
|
|
|
volumes:
|
|
|
|
- "db:/app/db"
|
|
|
|
ports:
|
|
|
|
- "10407:{{ ansible_bibliogram_port }}"
|