1
0
Fork 0
Commit graph

144 commits

Author SHA1 Message Date
Christophe Chaudier
606ec4413b Merge branch '18-add-badges-on-readme-for-github' into 'main'
Resolve "Add badges on readme for github"

Closes #18

See merge request lydra/yunohost/ansible-yunohost!10
2021-10-15 12:20:45 +00:00
Christophe Chaudier
dd0c1417d7 doc: add some awesome badges 2021-10-15 12:20:45 +00:00
Christophe Chaudier
dea612065d Merge branch '23-github-default-branch' into 'main'
Resolve "GitHub default branch"

Closes #23

See merge request lydra/yunohost/ansible-yunohost!11
2021-10-15 09:56:16 +00:00
Arthur BOUDREAULT
48faee80b2 fix: default GitHub branch is main, needed to pull code from ansible-galaxy + lydra is author of this role 2021-10-15 09:50:04 +00:00
Christophe Chaudier
bd22f8c8a1 Merge branch '12-ansible-test-when-is-smth-rather-than-smth' into 'master'
Resolve "fix: ci lint"

Closes #12

See merge request lydra/yunohost/ansible-yunohost!5
2021-10-13 16:02:27 +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
Christophe Chaudier
abe8ccb9f9 Merge branch '14-ansible-include-module-is-to-be-deprecated' into 'master'
Resolve "ansible include module is to be deprecated"

Closes #14

See merge request lydra/yunohost/ansible-yunohost!7
2021-10-12 14:34:36 +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
Christophe Chaudier
c30a2214a0 Merge branch '10-use-command-module' into 'master'
Resolve "Use command module"

Closes #10

See merge request lydra/yunohost/ansible-yunohost!6
2021-10-12 14:00:57 +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
Christophe Chaudier
f6c6f1d144 Merge branch '2-refactor-vars' into 'master'
Resolve "refactor vars"

Closes #2 and #9

See merge request lydra/yunohost/ansible-yunohost!3
2021-10-12 12:27:37 +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
Christophe Chaudier
4d9d81f355 Merge branch '4-ci-add-ansible-lint-and-checks' into 'master'
Resolve "ci: add ansible lint and checks"

Closes #4

See merge request lydra/yunohost/ansible-yunohost!1
2021-10-12 08:23:06 +00:00
Christophe Chaudier
3033bd22a9 fix: no playbook syntax chech because this repo as no playbook 2021-10-12 10:21:03 +02:00
Christophe Chaudier
02a3a964f3 ci: add linter and syntax check from project gci-tpl 2021-10-12 10:21:03 +02:00
Christophe Chaudier
669d3ebbfb Merge branch '1-remove-admin-users-feature' into 'master'
Resolve "remove admin users feature"

Closes #1

See merge request lydra/yunohost/ansible-yunohost!2
2021-10-08 08:51:45 +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
952ed25a00 added condition for usage of now nopassword 2021-05-01 22:54:57 +02:00
therojam
d7913fd55b corrected parameter for replace-module from regex 2 regexp 2021-05-01 22:33:33 +02:00
therojam
658e8a9304 corrected domain 2 mail_domain 2021-05-01 21:58:01 +02:00
therojam
4b9a7e0f2b corrected ansible errors 2021-05-01 20:26:50 +02:00
Anton
15f5439273
Merge pull request #3 from TheRojam/add/admin_ssh_user
added steps to secure Authentication w/o Password
2021-05-01 19:59:02 +02:00
therojam
f911c78946 added steps to secure Authentication w/o Password 2021-05-01 19:57:06 +02:00
Anton
f92cc6f327
Merge pull request #2 from TheRojam/error/mail2domain
switch -m (mail) was deprecated in favor of -d (--domaim)
2021-05-01 18:37:44 +02:00
therojam
c3f7b0355d switch -m (mail) was deprecated in favor of -d (--domaim)
also added example users w/ {{ domain }}
2021-05-01 18:33:45 +02:00
Anton
9220e1cdba
Merge pull request #1 from TheRojam/upgrade/ansible_version_3
Upgrade/ansible version 3
2021-05-01 17:28:15 +02:00
therojam
c6adcf5850 updated meta data 2021-05-01 17:24:41 +02:00
therojam
9ce7c315a0 upgraded code for ansible version 2.10/3 2021-05-01 17:13:18 +02:00
Sylvain Arnouts
25315c3733
Merge pull request #6 from rthouvenin/no-admin-password
Remove admin-password option from yunohost commands
2021-03-20 09:26:47 +01:00
Romain Thouvenin
572ea0d044 Remove admin-password option from yunohost commands 2021-03-10 20:28:12 +01:00
Sylvain Arnouts
7ff0acd823
Merge pull request #5 from rthouvenin/diagnosis
Run diagnosis before installing certificates
2020-11-16 13:51:44 +01:00
Romain Thouvenin
74756e93f4 Run diagnosis before installing certificates #4 2020-11-16 07:52:20 +01:00
Sylvain Arnouts
5657628845
Update main.yml 2020-05-12 17:18:37 +02:00
Sylvain Arnouts
04edb3b57d
Merge pull request #1 from zamentur/patch-1
[fix] admin is be a correct user in yunohost
2017-11-21 18:43:46 +01:00
ljf (zamentur)
b47e997b7b
[fix] admin is be a correct user in yunohost 2017-11-21 17:57:13 +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
f055ab5934 Fix typo in parameters array 2017-08-24 18:42:00 +02:00
sylvainar
1ecc7a6cf0 Update Readme 2017-08-23 15:27:01 +02:00
sylvainar
4ae7bc198b Add app installation 2017-08-23 15:23:31 +02:00
sylvainar
6e117907f0 Update meta, since Yunohost is only compatible with debian 8 2017-08-23 14:24:41 +02:00
sylvainar
c76f40ba78 Update meta information 2017-08-23 13:03:27 +02:00
sylvainar
1578eb74ba Install yunohost 2017-08-23 12:58:21 +02:00
Sylvain Arnouts
983738c987 Initial commit 2017-08-23 12:42:15 +02:00