Skip to content

Commit 508d3f8

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/acme-harica
2 parents 6853844 + c5f795a commit 508d3f8

30 files changed

Lines changed: 125 additions & 132 deletions

File tree

provision.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@
5757
- inventory_hostname in groups['dbcluster_nodes']
5858
tags: ['core', 'db_mysql', 'keepalived']
5959
- role: galera_create_users
60-
when:
61-
- inventory_hostname in groups['dbcluster']
6260
tags: ['core', 'db_mysql', 'galera', 'galera_create_users']
6361

6462
- hosts: mongo_servers
@@ -122,6 +120,7 @@
122120
become: true
123121
roles:
124122
- { role: engineblock, tags: ["eb"] }
123+
- { role: stepupgateway, tags: [ 'stepupgateway' , 'stepup' ] }
125124

126125
- hosts: docker_mariadb
127126
become: true

roles/attribute-aggregation/handlers/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
name: aaserver
44
state: started
55
restart: true
6+
# avoid restarting it creates unexpected data loss according to docker_container_module notes
7+
comparisons:
8+
'*': ignore
69
when: aaservercontainer is success and aaservercontainer is not change

roles/attribute-aggregation/tasks/main.yml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -64,80 +64,3 @@
6464
retries: 3
6565
start_period: 10s
6666
register: aaservercontainer
67-
68-
- name: Create the gui container
69-
community.docker.docker_container:
70-
name: aagui
71-
image: ghcr.io/openconext/openconext-attribute-aggregation/aa-gui:{{ attribute_aggregation_gui_version }}
72-
pull: true
73-
restart_policy: "always"
74-
state: started
75-
networks:
76-
- name: "loadbalancer"
77-
labels:
78-
traefik.http.routers.attribute-aggregationgui.rule: "Host(`aa.{{ base_domain }}`)"
79-
traefik.http.routers.attribute-aggregationgui.tls: "true"
80-
traefik.enable: "true"
81-
healthcheck:
82-
test: ["CMD", "curl", "--fail", "http://localhost/internal/health"]
83-
interval: 10s
84-
timeout: 10s
85-
retries: 3
86-
start_period: 10s
87-
hostname: attribute-aggregation
88-
mounts:
89-
- source: /etc/localtime
90-
target: /etc/localtime
91-
type: bind
92-
- source: /opt/openconext/common/favicon.ico
93-
target: /var/www/favicon.ico
94-
type: bind
95-
env:
96-
HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img }}"
97-
HTTPD_SERVERNAME: "aa.{{ base_domain }}"
98-
OPENCONEXT_INSTANCENAME: "{{ instance_name }}"
99-
OPENCONEXT_ENGINE_LOGOUT_URL: "https://engine.{{ base_domain }}/logout"
100-
OPENCONEXT_HELP_EMAIL: "{{ support_email }}"
101-
SHIB_ENTITYID: "https://aa.{{ base_domain }}/shibboleth"
102-
SHIB_REMOTE_ENTITYID: "https://engine.{{ base_domain }}/authentication/idp/metadata"
103-
SHIB_REMOTE_METADATA: "{{ shibboleth_metadata_sources.engine }}"
104-
105-
- name: Create the gui link container
106-
community.docker.docker_container:
107-
name: aalink
108-
image: ghcr.io/openconext/openconext-basecontainers/apache2-shibboleth:latest
109-
pull: true
110-
restart_policy: "always"
111-
state: started
112-
networks:
113-
- name: "loadbalancer"
114-
labels:
115-
traefik.http.routers.attribute-aggregationlink.rule: "Host(`link.{{ base_domain }}`)"
116-
traefik.http.routers.attribute-aggregationlink.tls: "true"
117-
traefik.enable: "true"
118-
healthcheck:
119-
test: ["CMD", "curl", "--fail", "http://localhost/internal/health"]
120-
interval: 10s
121-
timeout: 10s
122-
retries: 3
123-
start_period: 10s
124-
mounts:
125-
- source: /opt/openconext/attribute-aggregation/apachelink.conf
126-
target: /etc/apache2/sites-enabled/000-default.conf
127-
type: bind
128-
- source: /etc/localtime
129-
target: /etc/localtime
130-
type: bind
131-
- source: /opt/openconext/common/favicon.ico
132-
target: /var/www/favicon.ico
133-
type: bind
134-
hostname: attribute-link
135-
env:
136-
HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img }}"
137-
HTTPD_SERVERNAME: "link.{{ base_domain }}"
138-
OPENCONEXT_INSTANCENAME: "{{ instance_name }}"
139-
OPENCONEXT_ENGINE_LOGOUT_URL: "https://engine.{{ base_domain }}/logout"
140-
OPENCONEXT_HELP_EMAIL: "{{ support_email }}"
141-
SHIB_ENTITYID: "https://link.{{ base_domain }}/shibboleth"
142-
SHIB_REMOTE_ENTITYID: "https://engine.{{ base_domain }}/authentication/idp/metadata"
143-
SHIB_REMOTE_METADATA: "{{ shibboleth_metadata_sources.engine }}"

roles/attribute-aggregation/templates/serverapplication.yml.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ spring:
4444
properties:
4545
hibernate:
4646
naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
47-
dialect: org.hibernate.dialect.MariaDB53Dialect
4847
open-in-view: true
4948
datasource:
5049
driver-class-name: org.mariadb.jdbc.Driver

roles/dashboard/handlers/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
name: dashboardserver
44
state: started
55
restart: true
6+
# avoid restarting it creates unexpected data loss according to docker_container_module notes
7+
comparisons:
8+
'*': ignore
69
when: dashboardservercontainer is success and dashboardservercontainer is not change

roles/engineblock/handlers/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
name: engineblock
55
state: started
66
restart: true
7+
# avoid restarting it creates unexpected data loss according to docker_container_module notes
8+
comparisons:
9+
'*': ignore
710
when: ebcontainer is success and ebcontainer is not change

roles/haproxy/tasks/get_acme_certs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
changed_when: false
2020
loop: "{{ haproxy_ssl_hosts }}"
2121
delegate_to: "localhost"
22+
check_mode: false # this is safe run run, even in check mode
2223
run_once: true
2324

2425
- name: Update certificates on one host at a time
@@ -29,7 +30,8 @@
2930
cmd: |
3031
/home/acme/.acme.sh/acme.sh
3132
--issue
32-
--keylength 2048
33+
--ecc
34+
--keylength ec-384
3335
--days "{{ haproxy_acme_renewal_days }}"
3436
--dns dns_acmedns
3537
--stateless

roles/lifecycle/handlers/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
name: lifecycle
55
state: started
66
restart: true
7-
when: lifecycleservercontainer is success and lifecycleservercontainer is not change
7+
# avoid restarting it creates unexpected data loss according to docker_container_module notes
8+
comparisons:
9+
'*': ignore
10+
when: lifecyclecontainer is success and lifecyclecontainer is not change

roles/manage/handlers/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
name: manageserver
44
state: started
55
restart: true
6+
# avoid restarting it creates unexpected data loss according to docker_container_module notes
7+
comparisons:
8+
'*': ignore
69
when: manageservercontainer is success and manageservercontainer is not change

roles/manage/templates/metadata_configuration/provisioning.schema.json.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@
8585
"type": "string",
8686
"info": "The password of the SCIM endpoint. Will be stored symmetrically encrypted."
8787
},
88+
"scim_bearer_token": {
89+
"type": "string",
90+
"info": "The bearer token of the SCIM endpoint. Will be stored symmetrically encrypted."
91+
},
8892
"scim_update_role_put_method": {
8993
"type": "boolean",
9094
"default": false,

0 commit comments

Comments
 (0)