mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
Removed proxy_extra_configuration fact
This commit is contained in:
parent
03290eafe1
commit
80dad1a5ed
@ -19,7 +19,7 @@
|
||||
|
||||
- name: "Unset 'proxy_extra_configuration'"
|
||||
set_fact:
|
||||
proxy_extra_configuration: "{{ undef() }}"
|
||||
proxy_extra_configuration: null
|
||||
|
||||
- name: configure websocket_upgrade.conf
|
||||
copy:
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
- name: Set proxy_extra_configuration based on applications | get_app_conf(application_id, 'public_api_activated', True)
|
||||
set_fact:
|
||||
- name: "load docker, db and proxy for {{application_id}}"
|
||||
include_role:
|
||||
name: cmp-db-docker-proxy
|
||||
vars:
|
||||
proxy_extra_configuration: >-
|
||||
{% if not applications | get_app_conf(application_id, 'public_api_activated', True) %}
|
||||
{{ lookup('file', '{{ role_path }}/files/deactivate-public-api.conf') }}
|
||||
@ -8,10 +10,6 @@
|
||||
""
|
||||
{% endif %}
|
||||
|
||||
- name: "load docker, db and proxy for {{application_id}}"
|
||||
include_role:
|
||||
name: cmp-db-docker-proxy
|
||||
|
||||
- name: add config.toml
|
||||
template:
|
||||
src: "config.toml.j2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user