From 171529611939c3151b18f95549ce3b1ab1379df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 6 May 2021 09:31:19 +0200 Subject: [PATCH] Restart container always --- roles/oauth2proxy/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/oauth2proxy/tasks/main.yml b/roles/oauth2proxy/tasks/main.yml index 6a1cbcf..f454814 100644 --- a/roles/oauth2proxy/tasks/main.yml +++ b/roles/oauth2proxy/tasks/main.yml @@ -23,6 +23,8 @@ - "{{ data_folder }}/oauth2-proxy/oauth2-proxy.cfg:/etc/oauth2-proxy.cfg" ports: - "4180:4180" + state: started + restart: yes - name: copy oauth2-proxy nginx config template: src: oauth2-proxy.conf.j2