1
0
Fork 0
Commit graph

67 commits

Author SHA1 Message Date
Arthur BOUDREAULT
26351e9e11 refactor: transformed the role into a collection 2022-05-23 09:46:11 +02:00
Christophe Chaudier
bed20025a2 Merge branch '44-ci-fix-yaml-lint-fail' into 'main'
Resolve "ci: fix yaml-lint fail"

Closes #44

See merge request lydra/yunohost/ansible-yunohost!26
2022-05-19 17:47:37 +00:00
Christophe Chaudier
97622c012c fix: typo 2022-05-19 17:47:37 +00:00
Christophe Chaudier
7ce5c4ff82 Merge branch '33-ci-add-more-lint' into 'main'
Resolve "ci: add more lint"

Closes #33

See merge request lydra/yunohost/ansible-yunohost!21
2022-03-31 07:54:52 +00:00
Christophe Chaudier
954caf83ad docs: add release date on changelog 2022-03-31 09:50:57 +02:00
Christophe Chaudier
0679796b68 fix: yamllint errors 2022-03-31 09:50:57 +02:00
Christophe Chaudier
300d9e5b9f ci: add Ansible galaxy linter to have a better Quality Score 2022-03-31 09:50:57 +02:00
Christophe Chaudier
6a4cbe1c84 Merge branch '42-docs-create-changelog' into 'main'
Resolve "docs: create changelog"

Closes #42

See merge request lydra/yunohost/ansible-yunohost!24
2022-02-10 16:33:26 +00:00
Arthur BOUDREAULT
5d94cf2e54 docs: create changelog 2022-02-08 14:03:37 +01:00
Christophe Chaudier
12a76db9a4 Merge branch '34-howto-auto-update-apps' into 'main'
Resolve "How to auto update apps"

Closes #34

See merge request lydra/yunohost/ansible-yunohost!18
2022-01-24 14:28:41 +00:00
Arthur BOUDREAULT
2281bedd22 feat: cron task to autoupdate Yunohost daily 2022-01-24 14:28:41 +00:00
Christophe Chaudier
2e8dacdd1c Merge branch '32-feat-add-app-post_install' into 'main'
Resolve "feat: add app post_install"

Closes #32

See merge request lydra/yunohost/ansible-yunohost!16
2021-11-09 13:45:41 +00:00
Arthur BOUDREAULT
e6d2ece7a8 feat: add app post_install 2021-11-09 13:45:41 +00:00
Christophe Chaudier
c17121b3b5 Merge branch '31-add-smtp-relay' into 'main'
Resolve "add smtp relay"

Closes #31

See merge request lydra/yunohost/ansible-yunohost!14
2021-10-26 13:52:28 +00:00
Arthur BOUDREAULT
0e59763a0e feat(yunohost): add SMTP relay support 2021-10-26 13:52:28 +00:00
Christophe Chaudier
0717812d22 Merge branch '30-default-folder-instead-of-defaults' into 'main'
Resolve "default folder instead of defaultS"

Closes #30

See merge request lydra/yunohost/ansible-yunohost!13
2021-10-21 08:01:24 +00:00
Arthur BOUDREAULT
24b64ad6fa fix: defaults folder for Ansible well-being 2021-10-21 09:57:51 +02:00
Christophe Chaudier
7e6e3a3ea0 Merge branch '15-doc-licence-information' into 'main'
Resolve "doc: licence information"

Closes #15

See merge request lydra/yunohost/ansible-yunohost!9
2021-10-19 08:29:57 +00:00
Arthur BOUDREAULT
b2acdac3ad refactor: Added GNU licence info + lydra copyright 2021-10-19 08:29:57 +00:00
Christophe Chaudier
70b5916c8c Merge branch '8-doc-review' into 'main'
Resolve "doc: review"

Closes #8

See merge request lydra/yunohost/ansible-yunohost!8
2021-10-18 10:18:16 +00:00
Arthur BOUDREAULT
b2256f5e5f refactor: Better understanding at how the role interacts with ynh 2021-10-18 12:12:39 +02:00
Christophe Chaudier
d178b064e1 Merge branch '24-doc-change-ansible-id' into 'main'
Resolve "doc: change ansible id"

Closes #24

See merge request lydra/yunohost/ansible-yunohost!12
2021-10-15 12:57:28 +00:00
Christophe Chaudier
9aa27f0ce9 doc: change ansible-galaxy id 2021-10-15 12:55:59 +00:00
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