This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
pi-ansible/roles/docker_services/tasks/services/snowflake.yml

11 lines
384 B
YAML
Raw Normal View History

2022-12-22 19:18:27 +00:00
# vim: ft=yaml.ansible
2022-12-22 16:58:48 +00:00
---
- name: Deploy snowflake-proxy Docker container
2023-03-22 18:31:21 +00:00
community.docker.docker_container:
2022-12-22 16:58:48 +00:00
name: snowflake-proxy
state: "{{ 'absent' if stop is defined and stop else 'started' }}"
2023-04-20 22:29:19 +00:00
restart: "{{ stop is undefined or not stop }}"
2023-01-03 21:30:22 +00:00
image: thetorproject/snowflake-proxy:{{ services.snowflake.version }}
2023-01-14 18:25:13 +00:00
restart_policy: always
2022-12-22 16:58:48 +00:00
network_mode: host