Commit graph

40 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 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
Mathieu Trossevin bc1facd1ba
proftpd: Fix mode of public key files and directory
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-09 10:19:51 +01:00
Mathieu Trossevin 101c282846
proftpd: Fix format of public key files controlled by ansible
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
The comments used by ansible's blockinfile module break the format
expected by proftpd for public ssh keys, making them unusable.

Replace with a template, we will just have to accept that we need to use
ansible for all changes to these file.
2022-12-08 17:32:53 +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
Ludovic Poujol cd46dd8320 proftpd: Add a warning if config file was overriden
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-13 16:31:03 +02:00
Ludovic Poujol 9631476a06 proftpd: Allow user auth with ssh keys 2022-09-13 16:29:59 +02:00
Ludovic Poujol 7c4a169fb8 proftpd: Add options to override configs 2022-09-13 16:26:10 +02:00
Eric Morino c28ded807d Fix command for generate password with mkpasswd
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-05 11:42:49 +02:00
Eric Morino 3a59f5b7ca Add variable 'proftpd_default_address' on virtualhost
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-31 17:03:44 +02:00
Eric Morino 18dd64df50 Add load module mod_ident 2022-08-31 17:03:44 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +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
Eric Morino 4f7c0d6e69 Add TransfertLog to sftp and ftps configuration
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-22 10:08:45 +02:00
Jérémy Lecour afa0fd35c8 Change default public SSH/SFTP port from 2222 to 22222
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-28 18:32:47 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Victor LABORIE 2c874afb3c proftpd: add FTPS and SFTP support 2019-01-24 11:47:03 +01:00
Jérémy Lecour 3cbb65ea8d whitespaces 2018-04-04 23:21:31 +02:00
Victor LABORIE 5e3c33eb7a proftpd: update README and CHANGELOG 2018-03-13 10:25:26 +01:00
Victor LABORIE 9d349133f2 proftpd: fix when password was predefined 2018-02-28 17:37:24 +01:00
Victor LABORIE ef3287f7a2 proftpd: missing tab 2018-02-27 17:24:21 +01:00
Victor LABORIE d0fcd1c2d1 proftpd: use proftpd_accounts list for create ftp accounts
* need documentation
* faster, easier, more robust and reliable than loop on
  include_role with account.yml task
* account.yml task will be removed in future release
2018-02-27 17:14:57 +01:00
Jérémy Lecour d34ade4493 whitespaces 2017-12-04 13:50:26 +01:00
Bruno TATU 7decf35994 proftpd: add default_address + port 2017-11-03 13:54:23 +01:00
Jérémy Lecour ccaecf690c proftpd: don't overwrite z-evolinux.conf 2017-10-07 22:57:30 +02:00
Jérémy Lecour 8e86429ea4 proftpd: enforce permissions on password file 2017-10-07 21:43:05 +02:00
Jérémy Lecour 3e12be6a0c poftpd is compatible with stretch 2017-10-07 21:42:33 +02:00
Jérémy Lecour 24948cf4fa proftpd: blank vpasswd if missing 2017-10-05 18:46:40 +02:00
Gregory Colpart 463ae97508 proftpd role : add TimesGMT option to off to conform to https://wiki.evolix.org/HowtoProFTPD (thanks to jdubois) 2017-08-17 14:51:17 +02:00
Victor LABORIE 8105cfe6b6 proftpd: fix AuthUserFile param 2017-07-03 17:37:10 +02:00
Victor LABORIE cada053c11 proftpd: add task for FTP account management 2017-07-03 17:37:09 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Jérémy Lecour 478e9a8272 replace "state: installed" with "state: present" 2017-01-12 17:37:48 +01:00
Jérémy Lecour 61f5219f48 Improve documentation
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00