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