Skip to content
Snippets Groups Projects
Commit b578cea5 authored by Antoine SCHILDKNECHT's avatar Antoine SCHILDKNECHT
Browse files

Merge branch 't39050-mediaserver-locks-path' into 'main'

Configure mediaserver locks dir and remove data dirs | refs #39050

See merge request sys/ansible-public!67
parents df5d0584 36e61d66
No related branches found
No related tags found
No related merge requests found
# 2024-02-15
* Remove obsolete `DATA_DIRS` configuration in Nudgis Front configuration template
* Add `MSCONTROLLER_LOCKS_DIR` configuration in Nudgis Front configuration template (use the `nudgis_front_instances_dir` value as default value)
# 2023-10-23
Remove benchmark solution deployment.
......
......@@ -12,13 +12,16 @@ nudgis_front_database_port: "54321"
# Defines the address for the Nudgis Front emails sender
#nudgis_front_email_from: "noreply@{{ nudgis_front_domain }}"
# Directory to store nudgis portal
# Directory to store the Nudgis portals data
#nudgis_front_instances_dir: "/data"
# Directory to store the Nudgis lock files. This directory should be shared between the Nudgis Fronts in HA cases.
#nudgis_front_lock_dir: "/data"
# Defines the default deployed Nudgis portal "admin" user password
nudgis_front_user_admin_password: "my-password"
# Defines the default deployed Nudgis portal "ubicast" user password
nudgis_front_user_ubicast_password: "my-password"
...
\ No newline at end of file
...
......@@ -12,13 +12,16 @@ nudgis_front_database_port: "5432"
# Defines the address for the Nudgis Front emails sender
#nudgis_front_email_from: "noreply@{{ nudgis_front_domain }}"
# Directory to store nudgis portal
# Directory to store the Nudgis portals data
#nudgis_front_instances_dir: "/data"
# Directory to store the Nudgis lock files. This directory should be shared between the Nudgis Fronts in HA cases.
#nudgis_front_lock_dir: "/data"
# Defines the default deployed Nudgis portal "admin" user password
nudgis_front_user_admin_password: "my-password"
# Defines the default deployed Nudgis portal "ubicast" user password
nudgis_front_user_ubicast_password: "my-password"
...
\ No newline at end of file
...
......@@ -69,7 +69,12 @@ nudgis_front_database_port: "5432"
nudgis_front_database_password: "changeit"
```
`nudgis_front_instances_dir`: Directory to store nudgis portal (Optional)
`nudgis_front_instances_dir`: Directory to store the Nudgis portals data (Optional)
```
nudgis_front_instances_dir: "/data"
```
`nudgis_front_lock_dir`: Directory to store the Nudgis lock files. This directory should be shared between the Nudgis Fronts in HA cases. (Optional)
```
nudgis_front_lock_dir: "/data"
```
......@@ -12,6 +12,7 @@ nudgis_front_database_domain: "database.nudgis.example.com"
nudgis_front_database_port: "5432"
nudgis_front_database_password: "changeit"
nudgis_front_instances_dir: "/data"
nudgis_front_lock_dir: "/data"
celerity_signing_key: "changeit"
celerity_server_domain: "celerity.example.com"
......
......@@ -18,11 +18,20 @@
# This account is used during deployments and upgrades.
# DB_ROOT_PWD =
# Maximum number of database dump files to keep when running the dump action.
# DB_DUMP_MAX_FILES = 31
# Enable the creation of a database dump before running an update.
# The pre update database dump will be skipped if it has already been made within the last hour.
# Possible values: `yes` (default) or `no`.
# DB_DUMP_PRE_UPDATE = yes
# Directories pattern for new instance creation.
# Can contain a glob part, for example: `/data/nas*`.
# DATA_NEW_DIRS = /data
# Directories pattern for existing instances.
# Can contain a glob part, for example: `/data/nas*`.
# DATA_DIRS = /data
# Directory for the `mscontroller` script lock files.
# Several files are used as lock by the script, depending on which actions are running.
# When using multiple frontend servers, this directory must be shared by all servers (NAS).
# Example: `/data`. If no value is set, `/var/lock` will be used.
# MSCONTROLLER_LOCKS_DIR =
......@@ -18,11 +18,11 @@
regexp: '^(\s*)#?\s*{{ item.name }}\s*=.*$'
replace: '\1{{ item.name }} = {{ item.value }}'
loop:
- { name: 'DB_HOST', value: '{{ nudgis_front_database_domain }}' } # noqa: yaml[commas]
- { name: 'DB_PORT', value: '{{ nudgis_front_database_port }}' } # noqa: yaml[commas]
- { name: 'DB_ROOT_PWD', value: '{{ nudgis_front_database_password }}' } # noqa: yaml[commas]
- { name: 'DATA_NEW_DIRS', value: '{{ nudgis_front_instances_dir }}' } # noqa: yaml[commas]
- { name: 'DATA_DIRS', value: '{{ nudgis_front_instances_dir }}' } # noqa: yaml[commas]
- { name: 'DB_HOST', value: '{{ nudgis_front_database_domain }}' } # noqa: yaml[commas]
- { name: 'DB_PORT', value: '{{ nudgis_front_database_port }}' } # noqa: yaml[commas]
- { name: 'DB_ROOT_PWD', value: '{{ nudgis_front_database_password }}' } # noqa: yaml[commas]
- { name: 'DATA_NEW_DIRS', value: '{{ nudgis_front_instances_dir }}' } # noqa: yaml[commas]
- { name: 'MSCONTROLLER_LOCKS_DIR', value: '{{ nudgis_front_lock_dir }}' } # noqa: yaml[commas]
when: item.value != "" and item.value != '""'
- name: mediaserver install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment