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
0622e9ff1e
fix non-breaking spaces
2022-12-14 11:47:53 +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
4050dbea7a
packweb-apache: enable log_forensic module
2022-11-06 15:25:17 +01:00
William Hirigoyen (Evolix)
66563d0bf3
[packweb-apache] #66841 : ajout tâche update_userlogrotate.yml
continuous-integration/drone/push Build is passing
2022-07-19 17:19:58 +02:00
Jérémy Lecour
cbe7985814
Enforce String notation for mode
2022-06-08 15:38:21 +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
9f2125e287
packweb-apache: fix backports for phpmyadmin
continuous-integration/drone/push Build is passing
2021-05-04 16:43:48 +02:00
Jérémy Lecour
e5e4dc95fa
packweb-apache: install phpMyAdmin from buster-backports
2021-05-04 14:57:18 +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
6cf62aec11
(fix) packweb-apache : phpContainer can be run by anyone, set the chmod accordingly to 0755
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 18:12:50 +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
b8bdedaa2e
packweb-apache: update phpmyadmin package for Debian 10+
...
phpmyadmin_4.6.6-5_all.deb is no longer available, let's use 4.6.6-4
2019-12-31 16:27:05 +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
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
2019-11-29 14:00:25 +01:00
Jérémy Lecour
bea11352be
Merge branch 'buster' into unstable
2019-09-23 18:34:35 +02: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
Benoît S.
771c75c1de
all-roles: Dot not use ansible_lsb as it is deprecated
...
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
Benoît S.
0b8681cf59
packweb-apache: install phpmyadmin using .deb for Buster
...
Fixes #64
/!\ Warning: this is a temporary hack!
2019-07-03 09:37:57 +02:00
Jérémy Lecour
5199a384c3
packweb-apache : create phpmyadmin directory if missing
2019-06-27 16:33:11 +02:00
Jérémy Lecour
2b9354b549
re-enable phpmyadmin
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2019-06-27 16:19:17 +02:00
Jérémy Lecour
b773e17560
whitespaces
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
bee57a0b3c
change distribution release codename
...
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
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
efcd2ed391
packweb-apache: don't regenerate phpMyAdmin suffix each time
2018-09-09 23:00:41 +02: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
4612c5ec89
packweb-apache: use check_mode for apg command
...
* Fix usage of packweb-apache role with --check
2018-04-13 12:13:43 +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
Victor LABORIE
6d2506a0ce
packweb-apache: comment cron task instead of remove it and don't remove buildstatic.sh
2017-11-06 11:51:57 +01:00
Victor LABORIE
6f0fb57595
packweb-apache: fix awstats cron
2017-11-06 11:29:15 +01:00
Gregory Colpart
04239e3350
use replace instead of lineinfile
2017-09-08 01:26:53 +02:00
Gregory Colpart
9f01e1869d
Add info.php
2017-09-08 01:26:46 +02:00
Gregory Colpart
be4e811c47
phpMyAdmin configuration
2017-09-07 02:26:35 +02:00
Gregory Colpart
4f3b04e97d
Centralize restrictions to fhs_retrictions.yml
2017-09-06 19:30:21 +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
5c4125263e
Quick review of pack-web-apache role
2017-07-23 00:44:06 +02:00