lab-ansible/roles/apps/tasks/services/snowflake.yml
2023-10-29 01:49:29 +02:00

12 lines
440 B
YAML

# vim: ft=yaml.ansible
---
- name: Deploy snowflake-proxy Docker container
community.docker.docker_container:
name: snowflake-proxy
state: "{{ 'absent' if down is defined and down else 'started' }}"
restart: "{{ restart is defined and restart }}"
recreate: "{{ recreate is defined and recreate }}"
image: thetorproject/snowflake-proxy:{{ services.snowflake.version }}
restart_policy: always
network_mode: host