1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Arthur BOUDREAULT
26351e9e11 refactor: transformed the role into a collection 2022-05-23 09:46:11 +02:00
Arthur BOUDREAULT
2281bedd22 feat: cron task to autoupdate Yunohost daily 2022-01-24 14:28:41 +00:00
Arthur BOUDREAULT
0e59763a0e feat(yunohost): add SMTP relay support 2021-10-26 13:52:28 +00:00
Arthur BOUDREAULT
b2acdac3ad refactor: Added GNU licence info + lydra copyright 2021-10-19 08:29:57 +00:00
Arthur BOUDREAULT
d9850b85ba fix: ansible-lint errors
- fix: [201] Trailing whitespace REMOVED
- fix: meta-no-tags: Use 'galaxy_tags' rather than 'categories' REPLACED + role in Debian 10 only
- fix: [601] Don't compare to literal True/False FIXED
2021-10-13 16:02:27 +00:00
Arthur BOUDREAULT
39bd859070 ♻refactor: using latest ansible module to be more future-proof and support latest ansible versions
Ansible-lint:
```
Include has some unintuitive behaviours depending on if it is running in a static or dynamic in play or in playbook context, in an effort to clarify behaviours we are moving to a new set modules (ansible.builtin.include_tasks, ansible.builtin.include_role, ansible.builtin.import_playbook, ansible.builtin.import_tasks) that have well established and clear behaviours.
This module will still be supported for some time but we are looking at deprecating it in the near future.
```

Fix: I have decided to go for ansible include_tasks module because it is more versatile and on a par with this module (for more info about differences between new modules, see [here](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/include_module.html)
2021-10-12 14:34:35 +00:00
Arthur BOUDREAULT
c23177170e ♻refactor: Command ansible module across the repo for better security
Shell module is not needed here.

According to various sources (https://www.youtube.com/watch?v=57gAqKvAKck or https://stackoverflow.com/questions/56663332/difference-between-shell-and-command-in-ansible) it is not useful to use shell ansible module when not working with operands. Therefore I have decided to switch every actions to command module, more secure. Ansible-lint says "Shell should only be used when piping, redirecting or chaining commands"
2021-10-12 14:00:56 +00:00
Arthur BOUDREAULT
b76b876750 refactor: changed vars to reflect new variable names
refactor: changed variables pattern to be more consistent with ansible good practises and more flexible to use.
refactor: remove useless comment
doc: Readme in English and French
2021-10-12 12:27:37 +00:00
Arthur BOUDREAULT
9448739cf2 refactor: removed action related to admin_users task
This feature is system-related, not yunohost-related
2021-10-08 08:51:45 +00:00
therojam
f911c78946 added steps to secure Authentication w/o Password 2021-05-01 19:57:06 +02:00
therojam
9ce7c315a0 upgraded code for ansible version 2.10/3 2021-05-01 17:13:18 +02:00
Romain Thouvenin
74756e93f4 Run diagnosis before installing certificates #4 2020-11-16 07:52:20 +01:00
sylvainar
946aecd75f Add support for users 2017-09-17 21:27:54 +02:00
sylvainar
9d44c18172 Refactor app managment, add domains 2017-08-24 22:39:58 +02:00
sylvainar
4ae7bc198b Add app installation 2017-08-23 15:23:31 +02:00
sylvainar
1578eb74ba Install yunohost 2017-08-23 12:58:21 +02:00