Jakub Sokołowski f27e381a6c
add initial tasks and defaults
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-10 16:36:17 +02:00

19 lines
493 B
YAML

---
- name: 'Start container: {{ geth_expo_cont_name }}'
docker_container:
name: '{{ geth_expo_cont_name }}'
image: '{{ geth_expo_cont_image }}'
user: root
pull: true
restart_policy: always
state: '{{ cont_state }}'
recreate: '{{ cont_recreate }}'
restart: '{{ cont_restart }}'
entrypoint: geth_exporter
volumes_from: '{{ cont_name }}'
command: |
-ipc /data/geth.ipc
-port 9200
ports:
- '{{ geth_expo_cont_port }}:9200/tcp'