1- Artemis
2- =========
1+ # Artemis
32
4- This role installs artemis on a host. The role supports single node installations as well as multi node installations.
3+ This role installs Artemis on a host. The role supports single node installations as well as multi node installations.
4+
5+ ## Role Variables and Configuration
56
6- Role Variables
7- --------------
87Default variables can be found in the ` defaults/main.yml ` file.
98
109### Variables that have to be configured for a single node installation:
1110
1211```
13- artemis_server_url: "https://artemis.example.de"
14- artemis_database_password: #FIXME
15-
16- artemis_internal_admin_password: #FIXME
12+ artemis_server_url: "https://artemis.example.com"
13+ artemis_database_password: "your_database_password"
1714
18- proxy_ssl_certificate_path: #FIXME
19- proxy_ssl_certificate_key_path: #FIXME
15+ artemis_internal_admin_password: "your_admin_password"
2016
21- artemis_jhipster_jwt: #FIXME
17+ proxy_ssl_certificate_path: "/path/to/ssl_certificate"
18+ proxy_ssl_certificate_key_path: "/path/to/ssl_certificate_key"
2219
20+ artemis_jhipster_jwt: "your_jwt_secret"
2321```
2422
2523The JWT secret can be generated with: ` openssl rand -base64 64 | tr -d '\n' ` .
2624
27-
2825### Additional Variables for external systems
29- To configure LDAP access for artemis, add the following variables:
26+
27+ To configure LDAP access for Artemis, add the following variables:
3028```
3129ldap:
3230 url: "ldaps://iauth.tum.de:636"
3331 user_dn: "cn=TUINI01-Artemis,ou=bindDNs,ou=iauth,dc=tum,dc=de"
3432 base: "ou=users,ou=data,ou=prod,ou=iauth,dc=tum,dc=de"
35- password:
33+ password: "your_ldap_password"
3634```
37- ---
38-
39- To configure Jira as user management server add:
4035
36+ To allow internal user registration:
4137```
4238user_management:
43- jira:
44- url:
45- user:
46- password:
47- admin_group: # Jira group that will have admin access in the artemis web ui
48- ```
49-
50- To allow internal user registration:
51- ```
52- user_management:
53- registration:
39+ registration:
5440 allowed_email_pattern: ([a-zA-Z0-9_\-\.\+]+)@((tum\.de)|(in\.tum\.de)|(mytum\.de))
5541 allowed_email_pattern_readable: '@tum.de, @in.tum.de, @mytum.de'
5642 cleanup_time_minutes: 2
5743```
58- ---
59-
60- Bitbucket configuration:
61- ```
62-
63- bitbucket_hostname: bitbucket.example.com
64- version_control:
65- bitbucket:
66- url: "https://{{ bitbucket_hostname }}"
67- ssh_url: "ssh://git@{{ bitbucket_hostname }}:7999"
68- token:
69- ```
70- ---
71-
72- Bamboo configuration:
73- ```
74- continuous_integration:
75- bamboo:
76- url:
77- token:
78- bitbucket_link_name:
79- result_plugin_token:
80- ```
81- ---
82-
83- Gitlab configuration:
84- ```
85- version_control:
8644
87- gitlab:
88- url:
89- user:
90- password:
91- token: # Access token for $user
92- ci_token: # Jenkins secret push token
93- health_api_token: # Access token for health API
94- ssh_url: # Full SSH clone URL
45+ LocalVC configuration:
9546```
96- ---
97-
98-
99- Jenkins configuration:
47+ localvc:
48+ url: "https://artemis.example.com"
49+ repo_storage_base_path: "/path/to/repo_storage"
50+ use_version_control_access_token: false
51+ ssh_key_path: "/opt/artemis/ssh-keys" # Key path for the SSH host keys
52+ build_agent_use_ssh: true # Setting whether SSH should be used.
53+ ssh_url: "ssh://git@artemis.example.com:7921/" # URL template for SSH clone operations.
54+ build_agent_git_credentials:
55+ user: "build_agent_user"
56+ password: "build_agent_password"
57+ user: "localvc_user"
58+ password: "localvc_password"
10059```
101- jenkins:
102- url:
103- user:
104- password:
105- secret_push_token:
106- vcs_credentials:
107- artemis_auth_token_key:
108- artemis_auth_token_value:
109- ```
110- ---
11160
11261LocalCI configuration:
11362```
63+ continuous_integration:
11464 localci:
11565 is_core_node: true
11666 is_build_agent: true
@@ -124,62 +74,68 @@ LocalCI configuration:
12474 expiry_days: 3
12575 schedule_time: "0 0 4 * * *"
12676```
127- ---
12877
78+ Jenkins configuration:
79+ ```
80+ continuous_integration:
81+ jenkins:
82+ url: "https://jenkins.example.com"
83+ user: "jenkins_user"
84+ password: "jenkins_password"
85+ secret_push_token: "jenkins_secret_push_token"
86+ vcs_credentials: "jenkins_vcs_credentials"
87+ artemis_auth_token_key: "jenkins_artemis_auth_token_key"
88+ artemis_auth_token_value: "jenkins_artemis_auth_token_value"
89+ ```
12990
13091Athena configuration:
13192```
13293athena:
133- url:
134- secret:
135- restricted_modules: # optional parameter to restrict access to specific modules, e.g. module_text_llm,module_programming_llm
94+ url: "https://athena.example.com"
95+ secret: "athena_secret"
96+ restricted_modules: "module_text_llm,module_programming_llm" # optional parameter to restrict access to specific modules
13697```
137- ---
13898
139- Apollon configuration:
99+ Iris configuration:
140100```
141- apollon_url: #https://apollon.ase.in.tum.de/api/converter
101+ iris:
102+ url: "https://iris.example.com"
103+ secret: "iris_secret"
142104```
143- ---
144105
145106Mail configuration:
146107```
147108mail:
148- host:
149- port:
150- user:
151- password:
152- protocol:
153- ssl_trust:
109+ host: "smtp.example.com"
110+ port: 587
111+ user: "smtp_user"
112+ password: "smtp_password"
113+ protocol: "smtp"
114+ ssl_trust: "smtp.example.com"
154115```
155116
156- ---
157-
158117LTI configuration:
159118```
160119lti:
161- oauth_secret:
120+ oauth_secret: "lti_oauth_secret"
162121```
163122
164- ### Additional Variables for multi node installtions
123+ ### Additional Variables for multi node installations
165124
166125Registry Configuration:
167126```
168- artemis_jhipster_registry_password: #FIXME Multinode
169-
127+ artemis_jhipster_registry_password: "your_registry_password" # Set this to the password for the JHipster registry in a multi-node setup
170128```
171129The Token can be generated with: ` openssl rand -base64 64 `
172130
173- ---
174-
175-
176- Active MQ configuration
131+ Active MQ configuration:
177132```
178133broker:
179134 url: "fcfe:0:0:0:0:0:b:1" # Default address in the wireguard network
180- username: brokeruser
181- password: #FIXME
182-
135+ username: "brokeruser"
136+ password: "your_broker_password"
183137```
184138
139+ ## Example Usage
185140
141+ Please refer to https://github.com/ls1intum/artemis-ansible for concrete examples.
0 commit comments