mysql some fix
This commit is contained in:
parent
62a8d2675a
commit
ea9f2d7166
|
@ -29,4 +29,4 @@
|
||||||
command: sievec /var/lib/dovecot/sieve/default.sieve creates=/var/lib/dovecot/sieve/default.svbin
|
command: sievec /var/lib/dovecot/sieve/default.sieve creates=/var/lib/dovecot/sieve/default.svbin
|
||||||
|
|
||||||
- name: Enable dovecot
|
- name: Enable dovecot
|
||||||
service: name=dovecot state=started enabled=yes
|
service: name=dovecot enabled=yes
|
||||||
|
|
|
@ -8,4 +8,6 @@ warehost_host_db_host: ""
|
||||||
warehost_host_db_user: root
|
warehost_host_db_user: root
|
||||||
warehost_host_db_pass: "{{ lookup('password', 'credentials/mysql_root length=15') }}"
|
warehost_host_db_pass: "{{ lookup('password', 'credentials/mysql_root length=15') }}"
|
||||||
warehost_host_db_prefix: warehost_db
|
warehost_host_db_prefix: warehost_db
|
||||||
|
warehost_web_webroot: /srv/http/web
|
||||||
|
http_usr: http
|
||||||
http_grp: http
|
http_grp: http
|
||||||
|
|
|
@ -3,9 +3,18 @@ warehostdatabase: "host={{warehost_db_host}} user={{warehost_db_user}} dbname={{
|
||||||
log:
|
log:
|
||||||
path: /var/log/warehost/host.log
|
path: /var/log/warehost/host.log
|
||||||
databasedebug: false
|
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:
|
web:
|
||||||
enable: true
|
enable: true
|
||||||
template: /etc/warehost/host-web.tmpl
|
template: /etc/warehost/host-web.tmpl
|
||||||
|
path_domain: /srv/http/domain
|
||||||
config: {{warehost_host_web_path}}
|
config: {{warehost_host_web_path}}
|
||||||
database:
|
database:
|
||||||
enable: true
|
enable: true
|
||||||
|
|
Reference in New Issue