-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathenvs-patch-backward-compatibility.yml
112 lines (105 loc) · 5.1 KB
/
envs-patch-backward-compatibility.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
- name: "archivematica_src_search_enabled"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_search_enabled}) }}"
when: "archivematica_src_search_enabled is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_SEARCH_ENABLED"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_SEARCH_ENABLED"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_SEARCH_ENABLED"
- name: "archivematica_src_am_es_server"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_am_es_server}) }}"
when: "archivematica_src_am_es_server is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_ELASTICSEARCH_SERVER"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_ELASTICSEARCH_SERVER"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_ELASTICSEARCH_SERVER"
- name: "Apply archivematica_src_am_db_host"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_am_db_host}) }}"
when: "archivematica_src_am_db_host is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_CLIENT_HOST"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_CLIENT_HOST"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_CLIENT_HOST"
- name: "Apply archivematica_src_am_db_name"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_am_db_name}) }}"
when: "archivematica_src_am_db_name is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_CLIENT_DATABASE"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_CLIENT_DATABASE"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_CLIENT_DATABASE"
- name: "Apply archivematica_src_am_db_user"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_am_db_user}) }}"
when: "archivematica_src_am_db_user is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_CLIENT_USER"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_CLIENT_USER"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_CLIENT_USER"
- name: "Apply archivematica_src_am_db_password"
set_fact:
"{{ item.name }}": "{{ item.dict|combine({item.key: archivematica_src_am_db_password}) }}"
when: "archivematica_src_am_db_password is defined"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "ARCHIVEMATICA_MCPCLIENT_CLIENT_PASSWORD"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "ARCHIVEMATICA_MCPSERVER_CLIENT_PASSWORD"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "ARCHIVEMATICA_DASHBOARD_CLIENT_PASSWORD"
- name: "Apply archivematica_src_ca_custom_bundle"
set_fact:
"{{ item.name }}": "{{
item.dict|combine({
item.key: archivematica_src_ca_custom_bundle|default(ca_custom_bundle)
})
}}"
with_items:
- name: "archivematica_src_am_mcpclient_environment"
dict: "{{ archivematica_src_am_mcpclient_environment }}"
key: "REQUESTS_CA_BUNDLE"
- name: "archivematica_src_am_mcpserver_environment"
dict: "{{ archivematica_src_am_mcpserver_environment }}"
key: "REQUESTS_CA_BUNDLE"
- name: "archivematica_src_am_dashboard_environment"
dict: "{{ archivematica_src_am_dashboard_environment }}"
key: "REQUESTS_CA_BUNDLE"
- name: "archivematica_src_ss_environment"
dict: "{{ archivematica_src_ss_environment }}"
key: "REQUESTS_CA_BUNDLE"