@@ -15,6 +15,7 @@ onion_service_network_name: webserver
```yaml
onion_service_container_image: docker.io/fphammerle/onion-service@sha256:9cfc001d0c641fa8e58b67fccb766459dc16ee05e55ce756ee278ce3d5c46224
onion_service_container_state: started
+onion_service_disable_healthcheck: yes
```
## Returned Variables
@@ -4,3 +4,4 @@
onion_service_container_image: docker.io/fphammerle/onion-service@sha256:2aba505fcf9dbdb169ebbe90c10012d07ee389d1739b9aac3a504d58ab2e8a1e
+onion_service_disable_healthcheck: no
@@ -29,6 +29,7 @@
cpu_period: 10000
memory: 128M
restart_policy: unless-stopped
+ healthcheck: "{{ {'test': ['NONE']} if onion_service_disable_healthcheck else omit }}"
state: '{{ onion_service_container_state }}'
register: _container
- name: wait for onion service address