Installs OTRS 4 on a Debian/Ubuntu host with PostgreSQL.
The following variables are defaults an can be overridden:
otrs_version: 4.0.4
- hosts: servers
roles:
- { role: otrs4, otrs_version: "4.0.4" }
This code is licensed under MIT license
Ansible role to install OTRS 4 on a Debian/Ubuntu with PostgreSQL.
Installs OTRS 4 on a Debian/Ubuntu host with PostgreSQL.
The following variables are defaults an can be overridden:
otrs_version: 4.0.4
- hosts: servers
roles:
- { role: otrs4, otrs_version: "4.0.4" }
This code is licensed under MIT license
I'm not sure if that error only happen on my side, i'm really not a PostgreSQL expert. But i've changed the default template to template0
.
msg: Database query failed: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.
diff --git a/tasks/main.yml b/tasks/main.yml
index 5adaa84..83657fa 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -72,6 +72,7 @@
postgresql_db: name=otrs
owner=otrs
encoding='UTF-8'
+ template=template0
login_unix_socket=/var/run/postgresql
login_user=root
I just used your role to build my own role for installing OTRS 5.x with mariadb. thanks!
Unfortunately I don't know how to log in the first time, otrs-docs tell me "root@localhost // root" but that does not work for me.
I can set a new password via database, but it would be cool to know the default login or even add some task to set that password from within the role.
edit: ok, it is possible to use the web-installer to set that password. That is OK for running it now and then, for regular test-VMs it might be worth automating that as well. Maybe I find the time to try that ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.