Mathieu Trossevin
7c632352a0
Replace the include
module with include_tasks
or import_tasks
...
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).
Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
Jérémy Lecour
1728eaee68
Revert "Add “when: not ansible_check_mode” to allow more --check"
...
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20
.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00
David Prevot
fafff25c20
Add “when: not ansible_check_mode” to allow more --check
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Jérémy Lecour
faeb92230b
packweb-apache: manual dependencies resolution
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-06 15:25:17 +01: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
Ludovic Poujol
c7d456471b
packweb-apache: Install zip & unzip by default
2020-06-04 11:34:26 +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
continuous-integration/drone/pr Build is failing
2020-04-08 17:54:43 +02:00
Ludovic Poujol
f442239cec
(fix) packweb-apache: Don't try to install PHPMyAdmin on Buster as it's not available
2020-04-01 18:05:20 +02:00
Jérémy Lecour
7283e34077
Replace version_compare() with version()
2020-02-25 10:45:35 +01:00
Jérémy Lecour
79bb6103b8
Change "|version_compare" with "is version_compare"
2019-12-31 10:18:19 +01:00
Ludovic Poujol
b116c47b58
packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
continuous-integration/drone/push Build encountered an error
2019-08-21 15:24:58 +02:00
Jérémy Lecour
1d2a648241
whitespaces
2019-01-01 20:04:56 +01:00
Patrick Marchand
3eadd7d544
Rajout d'un cron a packweb pour ftpd
...
The cronjob that maintains file size caches for ftpadmin
is not present in the packweb, which leads to things like
spinon-www0 listing all directories as being 0 octets big.
2018-11-13 16:58:29 -05:00
Jérémy Lecour
5bf82d117b
Don't copy empty files
2018-04-22 17:23:31 +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
Victor LABORIE
ef127d89dc
packweb-apache: use dependencies instead of include_role for apache and php roles
2018-04-13 11:54:42 +02:00
Gregory Colpart
9f01e1869d
Add info.php
2017-09-08 01:26:46 +02:00
Gregory Colpart
9aec7c8891
First step to use new evoadmin / FPM
2017-08-23 04:28:21 +02:00
Gregory Colpart
5bbec8f829
first step to improve userlogrotate in Debian 9
2017-08-23 04:27:34 +02:00
Gregory Colpart
e10e971dbe
move FHS restrictions to a new file
2017-08-23 03:23:16 +02:00
Gregory Colpart
453b78a59b
do not remove old log files
2017-08-23 03:17:07 +02:00
Gregory Colpart
84d39d7121
mv evoadmin to webapps/evoadmin-web
2017-08-22 06:30:41 +02:00
Gregory Colpart
43e0f7589f
use now PHP role
2017-08-22 06:30:41 +02:00
Gregory Colpart
2bb7367edf
standardization for Debian versions : we use "jessie" or "9 or later" to prepare buster smoothly as possible
2017-08-18 03:50:30 +02:00
Gregory Colpart
8981ea4228
Fix for Debian 9, _apt user need right to apt stuff
2017-07-18 16:51:06 +02:00
Jérémy Lecour
9dbed2dd59
packweb: split jessie/stretch
2017-07-13 14:09:33 +02:00
Jérémy Lecour
bae8961e99
packweb/evoadmin: cleanup
...
* extracted tasks
* more variables
* more templates
* less bugs
2017-07-03 18:23:39 +02:00
Jérémy Lecour
2084e2e53e
evoadmin/packweb: end of first pass
2017-07-03 18:22:24 +02:00
Jérémy Lecour
fe32d691b8
packweb: use "check_mode" with Ansible 2.2
2017-07-03 17:59:03 +02:00
Benoît S.
58dd5c3817
WIP: More things done for packweb...
...
PHP, Awstats, ...
2017-07-03 17:56:59 +02:00
Jérémy Lecour
0273a0d07c
Improve tasks names
2017-07-03 17:56:54 +02:00
Benoît S.
6a225e469b
[WIP]: First pass for packweb-apache
2017-07-03 17:55:00 +02:00