Jérémy Lecour
dd42c3673c
whitespaces
2021-05-19 17:02:20 +02:00
Jérémy Lecour
02451f1e67
add default (useless) value for file lookup
2021-05-19 14:35:08 +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'
2021-05-04 13:39:47 +02:00
Jérémy Lecour
5b2d3b09d0
Create system users for vmail (dovecot) and evoadmin
2020-12-17 08:05:16 +01:00
Ludovic Poujol
bd63e7037f
packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
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
...
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
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
2019-08-30 10:32:44 -04:00
Patrick Marchand
02415b7a2c
Missed a few instances of multi-php checks during merge
2019-08-30 10:19:51 -04:00
Patrick Marchand
276177900b
Merge branch 'evoadmin-web-template-override' into unstable
...
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
2019-07-04 17:16:43 +02:00
Benoît S.
771c75c1de
all-roles: Dot not use ansible_lsb as it is deprecated
...
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour
b773e17560
whitespaces
2019-06-27 16:16:19 +02:00
Jérémy Lecour
879c5c16cd
Merge branch 'unstable' into buster
2019-06-21 14:53:11 +02:00
Tristan PILAT
93e2c81fb2
Add proxy_fcgi activation for multi php
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
2019-06-18 17:45:15 +02:00
Jérémy Lecour
bee57a0b3c
change distribution release codename
...
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
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
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
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
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