Commit graph

146 commits

Author SHA1 Message Date
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 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Patrick Marchand 1c6fdbf85a Remove warning ignores as they are depreciated
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Will cause a hard fail in ansible 2.14, so better get rid of them now.
There is no alternative, but the ansible warnings for those modules
are not hard failures anyways.
2022-12-22 11:32:32 -05:00
Jérémy Lecour 1728eaee68 Revert "Add “when: not ansible_check_mode” to allow more --check"
All checks were successful
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
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Jérémy Lecour b36d4c4766 various fixes for Debian 12 2022-11-06 15:25:17 +01:00
Ludovic Poujol 18b450b8c3 webapp/nextcloud: Updates on vhost
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
- Add comments for SSL settinfs
- Remove userlog
2022-09-02 10:25:22 +02:00
Ludovic Poujol 4f0553c057 webapp/nextcloud: use ini_file for php settings to not destror our zzz-evolinux-custom.ini 2022-09-02 10:18:48 +02:00
Ludovic Poujol 4bb2edae69 webapp/nextcloud: Use latest version of branch 24
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-01 12:46:37 +02:00
Ludovic Poujol 5c7a7fe768 webapp/nextlcloud: Reorganize tasks files
- Apache : Split system/vhost stuff
- MySQL : Rename task file to follow same convention as apache
2022-09-01 12:46:37 +02:00
Ludovic Poujol d5e34d0a77 webapp/nextcloud: Multiple changes in vhost
- Have only one domain as ServerName (otherwise you get an invalid apache config
- Add all other domains as ServerAlias
- Remove auto redirect vers ServerName
- Correct indentation
2022-09-01 12:46:37 +02:00
Ludovic Poujol 1ad3e0de37 webapp/nextcloud: Dont add www-data to the application group 2022-09-01 12:46:37 +02:00
Ludovic Poujol 2656b5fc51 webapp/nextcloud: Change default folder mode to 0700
(+ better tasks name for user/group creation)
2022-09-01 12:46:37 +02:00
Ludovic Poujol a03a338af9 webapps/nextcloud: Use var nextcloud_user for unix group instead of instance_name to prevent mixup 2022-09-01 12:46:37 +02:00
Ludovic Poujol ee67ebca8b webapps/nextcloud: Drop support for Nginx 2022-09-01 12:46:37 +02:00
Ludovic Poujol d165a104f2 * webapps/nextcloud: Add missing dependencies for imagick
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-01 11:28:08 +02:00
Eric Morino aee925d667 Add php configuration for apache and cli globaly
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-26 16:28:30 +02:00
Eric Morino f1485451ef rendu compatible le rôle avec apache pour nextcloud01
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-25 17:35:10 +02:00
William Hirigoyen (Evolix) a8c117146c [webapps/roundcube] Corrige le DocumentRoot
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
continuous-integration/drone/push Build is passing
2022-07-27 11:09:23 +02:00
William Hirigoyen (Evolix) 4b39f5a998 [webapps/evoadmin-mail] Ajout remount RW manquant
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 17:58:51 +02:00
Ludovic Poujol e198cf67dc evoadmin-web: Update comment in template on how password hashes should be generated
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-05 11:26:40 +02:00
William Hirigoyen (Evolix) 2d98d50943 Fix le chemin du paquet .deb d'Evoadmin-mail
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 17:48:46 +02:00
Eric Morino cd7c488713 Add rule .well-know to allow letsencrypt challenge
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-26 16:37:00 +01:00
Eric Morino 7e36d03804 Add new location by default for /.well-know, fix some warning in Nextcloud check setup
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-26 15:42:39 +01:00
William Hirigoyen (Evolix) b9c1e9eafe Fix missing quote, option createhome -> create_home in Ansible 3.10, no mode option in user module (fix error introduced in e75eeb8c3f) 2021-10-26 15:34:13 +02:00
Jérémy Lecour b293cf2cf9 Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
Jérémy Lecour 437d2986ae better python3 modules management 2021-09-29 18:39:29 +02:00
Jérémy Lecour 74ab96d67f loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
Ludovic Poujol 42189ba613 Configure php7.4 for evoadmin-web on bullseye
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-17 16:38:21 +02:00
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 15:54:56 +02:00
Jérémy Lecour dd42c3673c whitespaces
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-19 17:02:20 +02:00
Jérémy Lecour 02451f1e67 add default (useless) value for file lookup
All checks were successful
continuous-integration/drone/push Build is passing
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'
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-02 16:51:05 +02:00
Ludovic Poujol bd63e7037f packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
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