mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented universal logout
This commit is contained in:
18
roles/web-svc-logout/tasks/main.yml
Normal file
18
roles/web-svc-logout/tasks/main.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- name: "include docker and reverse proxy for '{{ application_id }}'"
|
||||
include_role:
|
||||
name: cmp-docker-proxy
|
||||
when: run_once_web_svc_logout is not defined
|
||||
|
||||
- name: Create symbolic link from .env file to repository
|
||||
file:
|
||||
src: "{{ docker_compose.files.env }}"
|
||||
dest: "{{ [ docker_repository_path, '.env' ] | path_join }}"
|
||||
state: link
|
||||
when: run_once_web_svc_logout is not defined
|
||||
|
||||
- name: run the web svc logout tasks once
|
||||
set_fact:
|
||||
run_once_web_svc_logout: true
|
||||
when: run_once_web_svc_logout is not defined
|
Reference in New Issue
Block a user