Commit Graph

98 Commits

Author SHA1 Message Date
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour eded11f88f Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Patrick Marchand 20191c8873 Fixed regression introduced by commit 276177900b
continuous-integration/drone/push Build is passing Details
The default behavior for ansible template is to overwrite the
targeted file.  Since we dont always want to overwrite a file when
we play this role, we set `force` to `False` by default. This means
that if the `dest` already exists, ansible will not overwrite it
with it's given template.

This is fine for most of the tasks in this role, but in the case
of `{{ evoadmin_scripts_dir }}/web-mail.tpl`,the file is created
by a task that runs prior to the template task, so setting it to
`False` by default means it never gets updated and clients dont get
notified when they create new websites.
2019-12-24 14:10:24 -05:00
Victor LABORIE 1b74db194a Add missing evolix prefix to role dependencies
continuous-integration/drone/push Build is passing Details
2019-12-03 14:32:34 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Ludovic Poujol e985f5778c evoadmin-web: Put the php config at the right place for Buster 2019-10-02 15:48:03 +02:00
Jérémy Lecour c98be7c864 evoadmin-web: better comment 2019-09-23 21:57:52 +02:00
Jérémy Lecour 732e26275e evoadmin-web: fix config file name 2019-09-23 21:57:35 +02:00
Jérémy Lecour ce02a68a8d evoadmin-web: use python/yaml native values 2019-09-23 21:57:08 +02:00
Patrick Marchand 6a89f253e9 Fix typo in evoadmin-web config template 2019-09-23 15:46:16 -04:00
Patrick Marchand 1b7f5bb46d Adds a default htpasswd for evoadmin-web 2019-09-23 15:32:17 -04:00
Jérémy Lecour bea11352be Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
Patrick Marchand d75846ed28 Make it possible to add an htpasswd file to evoadmin
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build encountered an error Details
2019-08-30 10:32:44 -04:00
Patrick Marchand 02415b7a2c Missed a few instances of multi-php checks during merge
continuous-integration/drone/push Build encountered an error Details
2019-08-30 10:19:51 -04:00
Patrick Marchand 276177900b Merge branch 'evoadmin-web-template-override' into unstable
continuous-integration/drone/push Build encountered an error Details
I had to apply some of the yamllint fixes to the new multi-php tasks
as well. Notably it removes the need to explicitely check for the
truthy "True"
2019-08-27 10:23:04 -04:00
Patrick Marchand 67664ec0e2 Pass evoadmin-web role through yamllint and ansible-lint
Recommends using true or false values directly instead of the truthy
and falsie yes True and etc. This also means that we can get rid
of the cast to booleans in some of the checks.

The other fixes are mostly in the realm of indentation and whitespace.
2019-08-27 09:58:08 -04:00
Patrick Marchand 1ecc38f9c2 Modified evoadmin-web template overriding variable names
Made them more in line with the rest of the role.
2019-08-27 09:45:32 -04:00
Victor LABORIE 031c4c29b9 roundcube: fix typo for roundcube vhost
continuous-integration/drone/push Build encountered an error Details
2019-07-08 15:35:05 +02:00
Benoît S. a7ef7be973 evoadmin-web: download sid package for php-log
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2019-07-04 17:16:43 +02:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour b773e17560 whitespaces
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
2019-06-27 16:16:19 +02:00
Jérémy Lecour 879c5c16cd Merge branch 'unstable' into buster
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2019-06-21 14:53:11 +02:00
Tristan PILAT 93e2c81fb2 Add proxy_fcgi activation for multi php
continuous-integration/drone/push Build is passing Details
2019-06-19 18:00:19 +02:00
Tristan PILAT 0401c01f36 Add restart apache2 handler 2019-06-19 17:59:42 +02:00
Tristan PILAT 936ab9cbe6 Fix condition check mistakes in templates
continuous-integration/drone/push Build encountered an error Details
2019-06-18 17:45:15 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is failing Details
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +02:00
Tristan PILAT 6d3eaf891c Fix condition check mistakes in templates
continuous-integration/drone/push Build encountered an error Details
2019-06-17 15:55:56 +02:00
Tristan PILAT c1b88d1eca Fix mistake file → copy 2019-06-17 12:17:46 +02:00
Tristan PILAT edad3a7ce7 Add configuration for multi PHP setup 2019-06-04 15:48:21 +02:00
Jérémy Lecour bd8644ae60 whitespaces 2019-05-14 14:03:03 +02:00
Patrick Marchand 1fc8b2b9f9 Fixed errors in filenames 2019-05-06 23:41:36 +02:00
Patrick Marchand d8385bff84 Make it possible to overwrite the default evoadmin-web templates
The templates can also be forced to update if so desired.
2019-05-06 22:00:45 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Ludovic Poujol 6e36b54adb webapps/evoadmin-web: add dbadmin.sh to sudoers file 2019-03-18 11:50:46 +01:00
Victor LABORIE 2a6cb3b381 evoadmin-mail: complete refactoring, use Debian Package 2018-12-07 15:26:08 +01:00
Tristan PILAT 6363e84d37 Add Nginx support to roundcube role 2018-09-12 15:32:18 +02:00
Tristan PILAT 00170127d9 Add Nginx support to evoadmin-mail role 2018-09-12 15:31:52 +02:00
Jérémy Lecour 8c9c5782e1 webapps/evoadmin-web: add users to /etc/aliases 2018-09-09 23:42:15 +02:00
Jérémy Lecour f4887c3289 typo 2018-09-09 23:25:53 +02:00
Victor LABORIE b18b3d3404 roundcube: add missing slash to https redirection 2018-06-25 16:58:03 +02:00
Victor LABORIE 9f1487ac58 evoadmin-mail: add php-twig to dependencies 2018-06-14 15:13:11 +02:00
Jérémy Lecour ec535b036c apt module: Use "state: present" instead of "state: installed"
"state: installed" is deprecated in Ansible 2.5
2018-05-18 09:33:25 +02:00
Benoît S. cb941bfe61 webapps/evoadmin-web: Add example of logins vars
Examples are present in config.php but not config.local.php and can be
disturbing.
2018-04-20 14:18:49 +02:00
Jérémy Lecour 792e319694 packweb-apache: install evoadmin as a dependency
A bug in Ansible 2.2 disables some included roles when dependencies have
a conditional evaluated to false.
2018-04-20 10:23:35 +02:00
Jérémy Lecour d9767aeb86 whitespaces 2018-04-20 10:22:11 +02:00
Ludovic Poujol da13a478c6 webapps/evoadmin-web : Name the fail task 2018-04-19 16:04:21 +02:00
Jérémy Lecour 3cbb65ea8d whitespaces 2018-04-04 23:21:31 +02:00
Jérémy Lecour 3038ad8fdc webapps: fix task indentation 2018-04-04 10:01:10 +02:00