ansible-role-lstu/templates/lstu.conf

33 lines
811 B
Perl
Executable file

# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
{
hypnotoad => {
listen => ['http://0.0.0.0:8080'],
proxy => 1,
},
contact => '{{ lstu.contact }}',
secret => ['{{ lstu.cookie_secret }}'],
hashed_adminpwd => '{{ lstu.hashed_adminpwd }}',
really_delete_urls => 1,
theme => 'milligram',
dbtype => 'mysql',
mysqldb => {
database => '{{ lstu_db }}',
host => '{{ database_host }}',
user => '{{ lstu_db_user }}',
pwd => '{{ lstu_db_password }}',
},
minion => {
enabled => 1,
mysqldb => {
database => '{{ minion_db }}',
host => '{{ database_host }}',
user => '{{ minion_db_user }}',
pwd => '{{ minion_db_password }}',
},
},
};