modif opac et pro url in systempreferences

This commit is contained in:
2022-05-09 15:39:36 +02:00
parent 54f4ea7674
commit 32f11f16d1
2 changed files with 16 additions and 0 deletions

View File

@@ -133,6 +133,21 @@
- "{{ koha_install_dir }}/var/log"
- "{{ koha_install_dir }}/var/run"
- name: set systempreference url
tags: wip
community.mysql.mysql_query:
login_db: "{{ koha_mariadb_db }}"
login_password: "{{ koha_mariadb_password }}"
login_user: "{{ koha_mariadb_user }}"
login_host: "{{ koha_mariadb_server }}"
query: UPDATE systempreferences set value = %(value)s WHERE variable=%(variable)s
named_args:
value: "{{ item.value }}"
variable: "{{ item.variable }}"
loop:
- { variable: "OPACBaseURL", value: "https://{{ koha_opac_hostname }}" }
- { variable: "staffClientBaseURL", value: "https://{{ koha_intranet_hostname }}" }
# cronjob
# # zebra
# traduction

View File

@@ -4,4 +4,5 @@
state: present
name:
- git
- python3-pymysql