make it work on 21.05
This commit is contained in:
180
README.md
180
README.md
@@ -8,16 +8,188 @@ Requirements
|
|||||||
|
|
||||||
Debian >=10 avec apache
|
Debian >=10 avec apache
|
||||||
|
|
||||||
|
|
||||||
Role Variables
|
Role Variables
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
with their default value, if any
|
with their default value, if any
|
||||||
|
|
||||||
|
koha_version: 21.05.05
|
||||||
koha_home_dir: /home/koha
|
koha_home_dir: /home/koha
|
||||||
koha_install_dir: {{ koha_home_dir }}/koha
|
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||||
koha_version: 20.11.11
|
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
||||||
koha_packages: needed packages see defaults/main.yml
|
koha_opac_hostname: koha.opendoor.fr
|
||||||
|
koha_intranet_hostname: sigb.opendoor.fr
|
||||||
|
koha_mariadb_server: localhost
|
||||||
|
koha_mariadb_user: "kohauser"
|
||||||
|
koha_mariadb_password: "123Soleil"
|
||||||
|
koha_mariadb_db: koha
|
||||||
|
koha_packages:
|
||||||
|
- docbook-xsl
|
||||||
|
- fonts-dejavu
|
||||||
|
- gettext
|
||||||
|
- idzebra-2.0
|
||||||
|
- libalgorithm-checkdigits-perl
|
||||||
|
- libanyevent-http-perl
|
||||||
|
- libanyevent-perl
|
||||||
|
- libarchive-extract-perl
|
||||||
|
- libarchive-zip-perl
|
||||||
|
- libarray-utils-perl
|
||||||
|
- libauthen-cas-client-perl
|
||||||
|
- libbiblio-endnotestyle-perl
|
||||||
|
- libbusiness-isbn-perl
|
||||||
|
- libbusiness-issn-perl
|
||||||
|
- libbytes-random-secure-perl
|
||||||
|
- libcache-memcached-fast-safe-perl
|
||||||
|
- libcache-memcached-perl
|
||||||
|
- libcgi-compile-perl
|
||||||
|
- libcgi-emulate-psgi-perl
|
||||||
|
- libcgi-pm-perl
|
||||||
|
- libcgi-session-driver-memcached-perl
|
||||||
|
- libcgi-session-perl
|
||||||
|
- libclass-accessor-perl
|
||||||
|
- libclass-factory-util-perl
|
||||||
|
- libclass-inspector-perl
|
||||||
|
- libclone-perl
|
||||||
|
- libcpan-meta-perl
|
||||||
|
- libcrypt-eksblowfish-perl
|
||||||
|
- libdata-ical-perl
|
||||||
|
- libdate-calc-perl
|
||||||
|
- libdate-manip-perl
|
||||||
|
- libdatetime-event-ical-perl
|
||||||
|
- libdatetime-format-ical-perl
|
||||||
|
- libdatetime-format-mysql-perl
|
||||||
|
- libdatetime-perl
|
||||||
|
- libdatetime-timezone-perl
|
||||||
|
- libdbd-mock-perl
|
||||||
|
- libdbd-mysql-perl
|
||||||
|
- libdbd-sqlite2-perl
|
||||||
|
- libdbi-perl
|
||||||
|
- libdbix-class-schema-loader-perl
|
||||||
|
- libdbix-runsql-perl
|
||||||
|
- libdevel-cover-perl
|
||||||
|
- libdigest-sha-perl
|
||||||
|
- libemail-address-perl
|
||||||
|
- libemail-date-perl
|
||||||
|
- libemail-messageid-perl
|
||||||
|
- libemail-sender-perl
|
||||||
|
- libemail-stuffer-perl
|
||||||
|
- libexception-class-perl
|
||||||
|
- libfile-slurp-perl
|
||||||
|
- libfont-ttf-perl
|
||||||
|
- libgd-barcode-perl
|
||||||
|
- libgd-perl
|
||||||
|
- libgraphics-magick-perl
|
||||||
|
- libgravatar-url-perl
|
||||||
|
- libhtml-format-perl
|
||||||
|
- libhtml-parser-perl
|
||||||
|
- libhtml-scrubber-perl
|
||||||
|
- libhttp-cookies-perl
|
||||||
|
- libhttp-message-perl
|
||||||
|
- libhttp-oai-perl
|
||||||
|
- libintl-perl
|
||||||
|
- libio-socket-ssl-perl
|
||||||
|
- libjson-perl
|
||||||
|
- libjson-validator-perl
|
||||||
|
- liblibrary-callnumber-lc-perl
|
||||||
|
- liblingua-ispell-perl
|
||||||
|
- liblingua-stem-perl
|
||||||
|
- liblingua-stem-snowball-perl
|
||||||
|
- liblist-moreutils-perl
|
||||||
|
- liblocale-codes-perl
|
||||||
|
- liblocale-currency-format-perl
|
||||||
|
- liblocale-po-perl
|
||||||
|
- liblog-log4perl-perl
|
||||||
|
- liblwp-protocol-https-perl
|
||||||
|
- libemail-valid-perl
|
||||||
|
- libmarc-charset-perl
|
||||||
|
- libmarc-file-mij-perl
|
||||||
|
- libmarc-record-perl
|
||||||
|
- libmarc-xml-perl
|
||||||
|
- libmime-lite-perl
|
||||||
|
- libmodern-perl-perl
|
||||||
|
- libmodule-bundled-files-perl
|
||||||
|
- libmodule-cpanfile-perl
|
||||||
|
- libmodule-load-conditional-perl
|
||||||
|
- libmodule-pluggable-perl
|
||||||
|
- libmojolicious-perl
|
||||||
|
- libmojolicious-plugin-openapi-perl
|
||||||
|
- libmoo-perl
|
||||||
|
- libnet-cidr-perl
|
||||||
|
- libnet-ldap-perl
|
||||||
|
- libnet-netmask-perl
|
||||||
|
- libnet-oauth2-authorizationserver-perl
|
||||||
|
- libnet-server-perl
|
||||||
|
- libnet-sftp-foreign-perl
|
||||||
|
- libnet-stomp-perl
|
||||||
|
- libnet-z3950-simpleserver-perl
|
||||||
|
- libnet-z3950-zoom-perl
|
||||||
|
- libnumber-format-perl
|
||||||
|
- libopenoffice-oodoc-perl
|
||||||
|
- libparallel-forkmanager-perl
|
||||||
|
- libpdf-api2-perl
|
||||||
|
- libpdf-fromhtml-perl
|
||||||
|
- libpdf-reuse-barcode-perl
|
||||||
|
- libpdf-reuse-perl
|
||||||
|
- libpdf-table-perl
|
||||||
|
- libplack-middleware-logwarn-perl
|
||||||
|
- libplack-middleware-reverseproxy-perl
|
||||||
|
- libreadonly-perl
|
||||||
|
- libscalar-list-utils-perl
|
||||||
|
- libschedule-at-perl
|
||||||
|
- libsearch-elasticsearch-perl
|
||||||
|
- libsereal-decoder-perl
|
||||||
|
- libsereal-encoder-perl
|
||||||
|
- libsms-send-perl
|
||||||
|
- libstring-random-perl
|
||||||
|
- libsys-cpu-perl
|
||||||
|
- libtemplate-perl
|
||||||
|
- libtemplate-plugin-gettext-perl
|
||||||
|
- libtemplate-plugin-htmltotext-perl
|
||||||
|
- libtemplate-plugin-json-escape-perl
|
||||||
|
- libtemplate-plugin-stash-perl
|
||||||
|
- libtest-deep-perl
|
||||||
|
- libtest-exception-perl
|
||||||
|
- libtest-mockmodule-perl
|
||||||
|
- libtest-mockobject-perl
|
||||||
|
- libtest-mocktime-perl
|
||||||
|
- libtest-simple-perl
|
||||||
|
- libtest-strict-perl
|
||||||
|
- libtest-warn-perl
|
||||||
|
- libtest-www-mechanize-perl
|
||||||
|
- libtest-yaml-valid-perl
|
||||||
|
- libtext-bidi-perl
|
||||||
|
- libtext-csv-encoded-perl
|
||||||
|
- libtext-csv-perl
|
||||||
|
- libtext-csv-xs-perl
|
||||||
|
- libtext-iconv-perl
|
||||||
|
- libtext-pdf-perl
|
||||||
|
- libtext-unidecode-perl
|
||||||
|
- libtime-fake-perl
|
||||||
|
- libtry-tiny-perl
|
||||||
|
- libuniversal-can-perl
|
||||||
|
- libuniversal-require-perl
|
||||||
|
- liburi-perl
|
||||||
|
- libuuid-perl
|
||||||
|
- libwebservice-ils-perl
|
||||||
|
- libwww-csrf-perl
|
||||||
|
- libwww-perl
|
||||||
|
- libxml-dumper-perl
|
||||||
|
- libxml-libxml-perl
|
||||||
|
- libxml-libxslt-perl
|
||||||
|
- libxml-rss-perl
|
||||||
|
- libxml-sax-perl
|
||||||
|
- libxml-sax-writer-perl
|
||||||
|
- libxml-simple-perl
|
||||||
|
- libxml-writer-perl
|
||||||
|
- libxml2-utils
|
||||||
|
- libyaml-libyaml-perl
|
||||||
|
- libyaml-syck-perl
|
||||||
|
- perl-doc
|
||||||
|
- unzip
|
||||||
|
- xmlstarlet
|
||||||
|
- xsltproc
|
||||||
|
- yaz
|
||||||
|
|
||||||
|
|
||||||
Example Playbook
|
Example Playbook
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
---
|
---
|
||||||
# defaults file for tco.koha
|
# defaults file for tco.koha
|
||||||
|
|
||||||
koha_version: 20.11.11
|
koha_version: 21.05.05
|
||||||
koha_home_dir: /home/koha
|
koha_home_dir: /home/koha
|
||||||
koha_install_dir: "{{ koha_home_dir }}/koha"
|
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||||
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
||||||
koha_opac_hostname: koha.opendoor.fr
|
koha_opac_hostname: koha.opendoor.fr
|
||||||
koha_intranet_hostname: sigb.opendoor.fr
|
koha_intranet_hostname: sigb.opendoor.fr
|
||||||
koha_mariadb_server: localhost
|
koha_mariadb_server: localhost
|
||||||
koha_mariadb_user: "kohauser"
|
koha_mariadb_user: "kohauser"
|
||||||
koha_mariadb_password: "123Soleil"
|
koha_mariadb_password: "123Soleil"
|
||||||
koha_mariadb_db: koha
|
koha_mariadb_db: koha
|
||||||
|
koha_smtp_host: localhost
|
||||||
|
koha_smtp_port: 587
|
||||||
|
koha_smtp_user: mail
|
||||||
|
koha_smtp_password: mail
|
||||||
|
|
||||||
koha_packages:
|
koha_packages:
|
||||||
- docbook-xsl
|
- docbook-xsl
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
- name: install memcached
|
- name: install memcached
|
||||||
import_tasks: memcached.yml
|
import_tasks: memcached.yml
|
||||||
tags: wip
|
|
||||||
|
|
||||||
- name: create koha user
|
- name: create koha user
|
||||||
vars:
|
vars:
|
||||||
@@ -32,11 +31,11 @@
|
|||||||
- name: get and extract archive
|
- name: get and extract archive
|
||||||
block:
|
block:
|
||||||
- get_url:
|
- get_url:
|
||||||
url: "https://github.com/Koha-Community/Koha/archive/refs/tags/v{{ koha_version }}.tar.gz"
|
url: "https://gitlab.com/koha-community/Koha/-/archive/v{{ koha_version }}/Koha-v{{ koha_version }}.tar.gz"
|
||||||
dest: /tmp/
|
dest: /tmp/
|
||||||
|
|
||||||
- unarchive:
|
- unarchive:
|
||||||
src: /tmp/Koha-{{ koha_version }}.tar.gz
|
src: /tmp/Koha-v{{ koha_version }}.tar.gz
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
dest: "{{ koha_home_dir }}"
|
dest: "{{ koha_home_dir }}"
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,6 @@
|
|||||||
"CGI::Emulate::PSGI" : "0.20",
|
"CGI::Emulate::PSGI" : "0.20",
|
||||||
"CGI::Session" : "4.2",
|
"CGI::Session" : "4.2",
|
||||||
"CGI::Session::Driver::memcached" : "0.04",
|
"CGI::Session::Driver::memcached" : "0.04",
|
||||||
"CGI::Session::Serialize::yaml" : "4.2",
|
|
||||||
"CPAN::Meta" : "2.150006",
|
"CPAN::Meta" : "2.150006",
|
||||||
"Cache::Memcached" : "1.30",
|
"Cache::Memcached" : "1.30",
|
||||||
"Cache::Memcached::Fast::Safe" : "0.06",
|
"Cache::Memcached::Fast::Safe" : "0.06",
|
||||||
@@ -210,12 +209,11 @@
|
|||||||
"XML::SAX::Writer" : "0.44",
|
"XML::SAX::Writer" : "0.44",
|
||||||
"XML::Simple" : "2.14",
|
"XML::Simple" : "2.14",
|
||||||
"XML::Writer" : "0.614",
|
"XML::Writer" : "0.614",
|
||||||
"YAML" : "0.71",
|
"YAML::XS" : "0.67"
|
||||||
"YAML::Syck" : "0.71"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"release_status" : "stable",
|
"release_status" : "stable",
|
||||||
"version" : "v20.11.11.000",
|
"version" : "v21.05.05.000",
|
||||||
"x_serialization_backend" : "JSON::PP version 4.04"
|
"x_serialization_backend" : "JSON::PP version 4.04"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ requires:
|
|||||||
CGI::Emulate::PSGI: '0.20'
|
CGI::Emulate::PSGI: '0.20'
|
||||||
CGI::Session: '4.2'
|
CGI::Session: '4.2'
|
||||||
CGI::Session::Driver::memcached: '0.04'
|
CGI::Session::Driver::memcached: '0.04'
|
||||||
CGI::Session::Serialize::yaml: '4.2'
|
|
||||||
CPAN::Meta: '2.150006'
|
CPAN::Meta: '2.150006'
|
||||||
Cache::Memcached: '1.30'
|
Cache::Memcached: '1.30'
|
||||||
Cache::Memcached::Fast::Safe: '0.06'
|
Cache::Memcached::Fast::Safe: '0.06'
|
||||||
@@ -196,7 +195,6 @@ requires:
|
|||||||
XML::SAX::Writer: '0.44'
|
XML::SAX::Writer: '0.44'
|
||||||
XML::Simple: '2.14'
|
XML::Simple: '2.14'
|
||||||
XML::Writer: '0.614'
|
XML::Writer: '0.614'
|
||||||
YAML: '0.71'
|
YAML::XS: '0.67'
|
||||||
YAML::Syck: '0.71'
|
version: v21.05.05.000
|
||||||
version: v20.11.11.000
|
|
||||||
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
|
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
|
||||||
|
|||||||
3112
templates/Makefile
3112
templates/Makefile
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user