Commit Graph

167 Commits

Author SHA1 Message Date
Jérémy Lecour d186e21239 evoadmin-web: simpler PHP packages lists 2021-08-16 13:49:13 +02:00
Jérémy Lecour c5bb8f06ae mysql: use python3 with Debian 11 and later 2021-07-02 21:10:52 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Eric Morino e75eeb8c3f Changement version nexcloud par defaut + modif droit home utilisateur
continuous-integration/drone/push Build is passing Details
2021-06-08 15:54:56 +02:00
Jérémy Lecour dd42c3673c whitespaces
continuous-integration/drone/push Build is passing Details
2021-05-19 17:02:20 +02:00
Jérémy Lecour 02451f1e67 add default (useless) value for file lookup
continuous-integration/drone/push Build is passing Details
2021-05-19 14:35:08 +02:00
Jérémy Lecour 7dc6f0b849 remove trailing whitespaces 2021-05-13 15:23:39 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour debc4a82ca Use 'loop' syntax instead of 'with_first_found'
continuous-integration/drone/push Build is passing Details
2021-05-04 13:39:47 +02:00
Jérémy Lecour 51cec4bce1 whitespaces 2020-12-23 15:51:59 +01:00
Jérémy Lecour 5b2d3b09d0 Create system users for vmail (dovecot) and evoadmin 2020-12-17 08:05:16 +01:00
Ludovic Poujol 45835d3349 nextcloud: Install version 20 instead of 19 2020-10-16 15:25:49 +02:00
Ludovic Poujol 929f258bf8 nextcloud: New role
continuous-integration/drone/push Build is passing Details
2020-10-02 16:51:05 +02:00
Ludovic Poujol bd63e7037f packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-08 17:54:43 +02:00
Ludovic Poujol 8bc4ff4ada lxc-php & webapps/evoadmin-web: Commit missing fixes 2020-04-01 17:17:00 +02:00
Victor LABORIE 84ec361270 evoadmin-web: fix missing bracket in web-add.conf template 2020-04-01 17:17:00 +02:00
Victor LABORIE 3601e802d6 evoadmin-web: fix typo in join filter 2020-04-01 17:17:00 +02:00
Ludovic Poujol 0f41638810 webapps/evoadmin-web: Replace evoadmin_multi_php (bool) by evoadmin_multiphp_versions (list) ** breaking **
Instead of having evoadmin_multi_php as a boolean, and outputing all 
versions possible PHP version in evoadmin, we now have 
evoadmin_multiphp_versions.

It's supposed to be a
2020-04-01 17:17:00 +02:00
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
Ludovic Poujol 4c36fd075c webapps/evoadmin-web: Fail if variable evoadmin_contact_email isn't defined 2018-03-19 16:48:12 +01:00
Victor LABORIE ed81597b06 evoadmin-mail: allow Expires rules in .htaccess 2018-01-30 15:55:06 +01:00
Ludovic Poujol bfb8a6cee8 evoadmin-web: No need to have config.local.php world readable 2017-12-15 14:48:32 +01:00
Victor LABORIE 4d007c8eb0 roundcube: add link in default site index 2017-11-07 18:14:03 +01:00
Victor LABORIE 1c48df025c Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
Victor LABORIE d70e541fb7 evoadmin-web: remove unnecessary flush_handlers 2017-10-31 15:55:43 +01:00
Victor LABORIE ba5b9beb8c evoadmin-mail: remove unnecessary flush_handlers 2017-10-31 15:52:53 +01:00
Victor LABORIE 940be65acb roundcube: merge imapproxy role into roundcube 2017-10-27 17:59:15 +02:00
Victor LABORIE d0cceb7e80 roundcube: return 503 if imapproxy doesn't run 2017-10-25 11:55:35 +02:00
Victor LABORIE 302fc2ffcc roundcube: zipdownload plugin nead php-zip 2017-10-25 11:55:34 +02:00
Victor LABORIE 33fccf3b51 roundcube: use lineinfile for configure IMAP server and port 2017-10-25 11:55:34 +02:00
Victor LABORIE ee58a84588 roundcube: fix regex for enabling plugins 2017-10-25 11:55:34 +02:00
Victor LABORIE e10166249d roundcube: use imapproxy 2017-10-25 11:55:34 +02:00
Victor LABORIE 8e6d7ed568 roundcube: install default plugins 2017-10-25 11:55:34 +02:00
Victor LABORIE 77b8a80753 Add roundcube role 2017-10-25 11:55:34 +02:00
Victor LABORIE d5ffb3c472 evoadmin-mail: fix shell and home for evoadmin-mail users 2017-10-25 11:55:34 +02:00
Victor LABORIE 9aaf4fe058 evoadmin-mail: fix document root path 2017-10-25 11:55:34 +02:00
Victor LABORIE 2947825c4b evoadmin-mail: Fix default title 2017-10-25 11:55:34 +02:00
Victor LABORIE b6761213f9 evoadmin-mail: fix mail var 2017-10-25 11:55:33 +02:00
Victor LABORIE 6d2dee0338 evoadmin-mail: use / instead of /evoadmin by default 2017-10-25 11:55:33 +02:00
Victor LABORIE 556311a607 evoadmin-mail: fix default config and evoadmin user 2017-10-25 11:55:33 +02:00
Victor LABORIE a4c4de21a8 evoadmin-mail: fix evoadmin-mail link insertion 2017-10-25 11:55:33 +02:00
Victor LABORIE 251299cee6 evoadmin-mail: fix git clone of evoadmin-mail repo 2017-10-25 11:55:33 +02:00
Gregory Colpart 1d7d45eb44 Add dovecot role, evoadmin-mail role and packmail role 2017-10-25 11:55:32 +02:00
Victor LABORIE 938aaa4ec1 wordpress: install wp-fail2ban plugin by default 2017-10-18 14:24:44 +02:00
Victor LABORIE c5844fa193 wordpress: fix summary mail 2017-10-17 11:18:02 +02:00
Victor LABORIE 8f9151c66e wordpress: don't use special caracter in admin password 2017-10-17 11:01:53 +02:00
Victor LABORIE 35f1ec91d8 wordpress: configure site before update it 2017-10-17 11:01:53 +02:00
Victor LABORIE 104a5c962e wordpress: refactoring into role 2017-10-17 10:24:19 +02:00
Ludovic Poujol 745c45f88d Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
Jérémy Lecour 64080ead23 evoadmin-web: document root should belong to group too 2017-10-07 23:05:20 +02:00