Commit graph

47 commits

Author SHA1 Message Date
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
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 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
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
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build encountered an error
2019-08-30 10:32:44 -04:00
Patrick Marchand 276177900b Merge branch 'evoadmin-web-template-override' into unstable
Some checks reported errors
continuous-integration/drone/push Build encountered an error
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
Benoît S. a7ef7be973 evoadmin-web: download sid package for php-log
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is passing
2019-07-04 17:16:43 +02:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour b773e17560 whitespaces
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing
2019-06-27 16:16:19 +02:00
Jérémy Lecour 879c5c16cd Merge branch 'unstable' into buster
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2019-06-21 14:53:11 +02:00
Tristan PILAT 93e2c81fb2 Add proxy_fcgi activation for multi php
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-19 18:00:19 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is failing
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 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
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 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
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
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 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
Ludovic Poujol bfb8a6cee8 evoadmin-web: No need to have config.local.php world readable 2017-12-15 14:48:32 +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
Gregory Colpart 1d7d45eb44 Add dovecot role, evoadmin-mail role and packmail role 2017-10-25 11:55:32 +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
Jérémy Lecour 2a8e571f04 evoadmin-web: clarify ansible code 2017-10-07 23:04:47 +02:00
Jérémy Lecour c4bdd88e27 evoadmin-web: stay privileged
Becoming an unprivilegied user is problemetic for Ansible.
We continue being root, but change the permissions on created files.
2017-10-07 21:48:00 +02:00
Jérémy Lecour 89fe1561b8 evoadmin-web depends on proftpd 2017-10-07 21:45:46 +02:00
Gregory Colpart 7f9399964b we need www-evoadmin user in Debian 9 2017-09-18 22:36:14 +02:00
Gregory Colpart db4331b98f we don't need anymore shadow group in Debian 9 or later 2017-09-08 04:03:04 +02:00
Gregory Colpart 06184a44bf remove *ssl_subject vars to avoid errors 2017-09-08 01:26:53 +02:00
Gregory Colpart d4e800a263 enable evoadmin-web link in default site index 2017-09-08 01:26:53 +02:00
Gregory Colpart 521fe2e9f3 Fix custom config file name for PHP ini values 2017-09-06 15:34:11 +02:00
Gregory Colpart 1524146f10 force own:group for config.local.php 2017-08-30 04:07:26 +02:00
Gregory Colpart 9aec7c8891 First step to use new evoadmin / FPM 2017-08-23 04:28:21 +02:00
Gregory Colpart 84d39d7121 mv evoadmin to webapps/evoadmin-web 2017-08-22 06:30:41 +02:00