Mathieu Gauthier-Pilote
6dc9d21e4c
Replace hardcoded value with variable
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
f61d9b951c
Installs a Let's Encrypt cert
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
330b678f38
Basic install; self-signed cert; no websocket in prosody; public stun server used; sctp disabled
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
82a7ab45a7
New variables for secrets and muc nickname
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
662170e225
variable domain
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
f534e79652
debconf, templates, etc
2024-06-12 20:01:37 +02:00
Mathieu Gauthier-Pilote
910c391151
WIP
2024-06-12 20:01:37 +02:00
William Hirigoyen
5acb1956f5
packweb: fix old bug (2017!) .orig file created by module patch and taken in account by ProFTPd
2024-03-27 15:17:48 +01:00
David Prevot
96c1017b5d
roundcube: Use /var/log/roundcube directly
...
/home/roundcube/log does not even exists…
2024-03-19 17:07:43 +01:00
David Prevot
23f4f9690f
roundcube: Use /var/log/roundcube directly
...
/var/lib/roundcube/logs is already a symlink to /var/log/roundcube.
2024-03-19 16:54:14 +01:00
Alexis Ben Miloud--Josselin
bc9609ce48
nextcloud: use latest version by default
2024-03-14 10:16:40 +01:00
Jérémy Lecour
47d7141a66
evoadmin-mail: apt modules already knows how to download packages
2024-02-06 13:59:28 +01:00
William Hirigoyen
554bbaa36f
roundcube: set default SMTP port to 25 instead of 587, which failed because of missing SSL conf (local connexion does not need SSL)
2024-02-01 18:00:38 +01:00
William Hirigoyen
bc07010aa6
webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice)
2024-02-01 18:00:38 +01:00
Alexis Ben Miloud--Josselin
251416f3e8
webapps/nextcloud: Set home directory's mode
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2682|4|2678|5|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/455//ansiblelint">Evolix » ansible-roles » unstable #455</a>
gitea/ansible-roles/pipeline/head This commit looks good
2024-01-23 18:00:54 +01:00
Alexis Ben Miloud--Josselin
9b67202acc
webapps/nextcloud: Add condition for archive tasks
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2683|7|2676|7|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/454//ansiblelint">Evolix » ansible-roles » unstable #454</a>
gitea/ansible-roles/pipeline/head This commit looks good
2024-01-23 16:35:51 +01:00
David Prevot
1ac497282c
evoadmin-mail: use fixed version for Ansible
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2670|6|2664|6|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/441//ansiblelint">Evolix » ansible-roles » unstable #441</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-12-22 15:44:40 +01:00
William Hirigoyen
9fb635b45f
webapps/evoadmin-mail: package installed via public.evolix.org/evolix repo starting with Bookworm
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2670|6|2664|7|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/440//ansiblelint">Evolix » ansible-roles » unstable #440</a>
gitea/ansible-roles/pipeline/head This commit looks good
(H)acked-By: David Prévot <dprevot+git@evolix.fr>
2023-12-22 15:42:30 +01:00
Tom David--Broglio
cbc51c462a
fix Add Ceph volume to fstab : missing UUID= in src
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2657|5|2652|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/424//ansiblelint">Evolix » ansible-roles » unstable #424</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-12-07 11:02:04 +01:00
Alexis Ben Miloud--Josselin
4d7de89ad4
webapps/nextcloud: Add condition for config tasks
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2656|9|2647|8|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/423//ansiblelint">Evolix » ansible-roles » unstable #423</a>
gitea/ansible-roles/pipeline/head This commit looks good
And update CHANGELOG
2023-12-07 10:19:42 +01:00
Alexis Ben Miloud--Josselin
31826b9ee5
webapps/nextcloud: Set owner and mode once mounted
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2655|7|2648|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/421//ansiblelint">Evolix » ansible-roles » unstable #421</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-12-07 09:42:34 +01:00
Alexis Ben Miloud--Josselin
43aff50891
webapps/nextcloud: Ajouter volume dans fstab
2023-12-07 09:34:04 +01:00
Tom David--Broglio
6ae9e04f27
webapps/nextcloud: fix misplaced gid attr and added check for nexctcloud uid
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2633|4|2629|3|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/387//ansiblelint">Evolix » ansible-roles » unstable #387</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-09 16:48:17 +01:00
Tom David--Broglio
aab3381887
webapps/nextcloud: fix missing gid
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2632|5|2627|6|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/386//ansiblelint">Evolix » ansible-roles » unstable #386</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-09 15:59:45 +01:00
Tom David--Broglio
009de62e28
webapps/nextcloud Added var nextcloud_user_uid to enforce uid for nextcloud user
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2633|6|2627|8|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/385//ansiblelint">Evolix » ansible-roles » unstable #385</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-09 15:19:15 +01:00
David Prevot
03c09dc092
evoadmin-web: Fix PHP version for Bookworm
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2628|3|2625|4|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/378//ansiblelint">Evolix » ansible-roles » unstable #378</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-10-23 18:16:48 +02:00
Jérémy Lecour
00fe225a3c
force: [yes,no] → force [true,false]
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Eric Morino
7b667d1650
Add task for mount nextcloud_data volume
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|2|2775|2|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/253//ansiblelint">Evolix » ansible-roles » unstable #253</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-05-19 16:21:41 +02:00
Jérémy Lecour
70c93310f9
Fix ansible-lint violations
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2768|3|2765|12|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/224//ansiblelint">Evolix » ansible-roles » unstable #224</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-20 23:48:40 +01:00
Jérémy Lecour
ee21973371
Use FQCN
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
Jérémy Lecour
6f96f6b458
Use proper python Boolean
2023-03-16 14:38:32 +01:00
Ludovic Poujol
c27551939d
webapps/nextcloud : Small enhancement on the vhost template to lock out data dir
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-13 11:05:55 +01:00
Ludovic Poujol
dcc378776c
webapp/nextcloud : Change default data directory to be outside web root
2023-01-13 11:04:32 +01:00
Jérémy Lecour
7a0e0d81d6
Proper jinja spacing
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
...
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"
...
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
b36d4c4766
various fixes for Debian 12
2022-11-06 15:25:17 +01:00
Ludovic Poujol
18b450b8c3
webapp/nextcloud: Updates on vhost
...
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
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
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
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
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
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
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
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
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
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
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
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
continuous-integration/drone/push Build is passing
2021-06-08 15:54:56 +02:00
Jérémy Lecour
dd42c3673c
whitespaces
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
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'
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
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)
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
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
...
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
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
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
02415b7a2c
Missed a few instances of multi-php checks during merge
continuous-integration/drone/push Build encountered an error
2019-08-30 10:19:51 -04:00
Patrick Marchand
276177900b
Merge branch 'evoadmin-web-template-override' into unstable
...
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
Victor LABORIE
031c4c29b9
roundcube: fix typo for roundcube vhost
continuous-integration/drone/push Build encountered an error
2019-07-08 15:35:05 +02:00