mysql some fix

This commit is contained in:
Martin Geno 2016-12-08 00:49:50 +01:00
parent 62a8d2675a
commit ea9f2d7166
3 changed files with 12 additions and 1 deletions

View File

@ -29,4 +29,4 @@
command: sievec /var/lib/dovecot/sieve/default.sieve creates=/var/lib/dovecot/sieve/default.svbin
- name: Enable dovecot
service: name=dovecot state=started enabled=yes
service: name=dovecot enabled=yes

View File

@ -8,4 +8,6 @@ warehost_host_db_host: ""
warehost_host_db_user: root
warehost_host_db_pass: "{{ lookup('password', 'credentials/mysql_root length=15') }}"
warehost_host_db_prefix: warehost_db
warehost_web_webroot: /srv/http/web
http_usr: http
http_grp: http

View File

@ -3,9 +3,18 @@ warehostdatabase: "host={{warehost_db_host}} user={{warehost_db_user}} dbname={{
log:
path: /var/log/warehost/host.log
databasedebug: false
path_user: {{http_usr}}
path_group: {{http_grp}}
ftp:
enable: true
path_id: /srv/ftp/%d/
web_modul:
enable: true
path_id: {{warehost_web_webroot}}/%d/
web:
enable: true
template: /etc/warehost/host-web.tmpl
path_domain: /srv/http/domain
config: {{warehost_host_web_path}}
database:
enable: true