13 lines
466 B
YAML
13 lines
466 B
YAML
# vim: ft=yaml.ansible
|
|
# code: language=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:{{ apps_vars.snowflake.version }}
|
|
restart_policy: always
|
|
network_mode: host
|