Coder Social home page Coder Social logo

ansible-otrs4's Introduction

OTRS 4

Installs OTRS 4 on a Debian/Ubuntu host with PostgreSQL.

Role Variables

The following variables are defaults an can be overridden:

otrs_version: 4.0.4

Example Playbook

- hosts: servers
  roles:
  - { role: otrs4, otrs_version: "4.0.4" }

License

This code is licensed under MIT license

ansible-otrs4's People

Contributors

corny avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rruu jraub toughlama

ansible-otrs4's Issues

Database query failed: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)

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

default login?

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 ;-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.