1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00
Commit graph

33 commits

Author SHA1 Message Date
L3D
3f36742c32
Update main.yml 2021-11-03 17:17:06 +01:00
L3D
ce5e61b379
gitea v1.15.5 available
https://github.com/go-gitea/gitea/releases/tag/v1.15.5
2021-10-25 14:01:36 +02:00
L3D
3509f6bd66
user gitea is now part of gitea group 2021-10-18 14:24:07 +02:00
Jens Timmerman
722c7e1ddd
Update main.yml 2021-09-24 11:52:30 +02:00
L3D
00b30c0106
increase gitea version to 1.15.3
https://github.com/go-gitea/gitea/releases/tag/v1.15.3
2021-09-22 00:18:51 +02:00
L3D
bf9d7d9442
v1.15.1: * BUGFIXES
https://github.com/go-gitea/gitea/releases/tag/v1.15.1
2021-09-02 21:42:04 +02:00
L3D
42c5013bc6
v1.15.0 is available
https://github.com/go-gitea/gitea/releases/tag/v1.15.0 is available.
2021-08-28 12:08:29 +02:00
L3D
9b5db4c896
add DEFAULT_PRIVATE option and increment version 2021-07-25 01:18:59 +02:00
L3D
ca583c2a1f
increase simplified version for versionscheck 2021-07-19 15:20:19 +02:00
L3D
011f8095b1
gitea v1.14.5 is available
https://github.com/go-gitea/gitea/releases/tag/v1.14.5 is available
2021-07-19 01:28:02 +02:00
L3D
32f0a15715
Add some description to the README
Add some description to the README and increment the basic versionscheck
2021-07-19 01:10:05 +02:00
L3D
4cbd2ce4f0
Update main.yml 2021-07-06 23:03:07 +02:00
L3D
79f5450a7e
increase optional versionschecknumber 2021-06-20 23:22:46 +02:00
L3D
b898edfd48
allow optional public files 2021-06-03 22:51:28 +02:00
L3D
265bca3eeb
Add custom footer support 2021-06-03 21:06:04 +02:00
L3D
e27ef27706
implement custom logos 2021-06-03 17:59:14 +02:00
L3D
cc2e00a87b
increase versionscheck number 2021-06-01 20:05:50 +02:00
L3D
094c0038d4
update ansible version requirement 2021-05-10 22:49:14 +02:00
L3D
fecabe2a73
gitea 1.14.2 is available
https://github.com/go-gitea/gitea/releases/tag/v1.14.2
2021-05-10 19:16:03 +02:00
L3D
66d5412946
increase gitea version for simple version check 2021-05-06 15:18:53 +02:00
L3D
b173721bcd
gitea v1.14.1 available
https://github.com/go-gitea/gitea/releases/tag/v1.14.1
2021-04-16 15:09:48 +02:00
L3D
2310d35eeb
improve fail2ban filter
based on https://blog.gitea.io/2021/04/gitea-1.14.0-is-released/
thanks to @firesoft-de for mention it!
2021-04-13 21:51:39 +02:00
L3D
2ca88c2711
add message to warn the user
+ Added a message that will warn the user that fail2ban is not installed.
+ Increased the version integer for the simple versionscheck.
2021-04-12 16:56:48 +02:00
L3D
0479ed2c15
increase version for the simple versionscheck 2021-04-11 15:35:04 +02:00
L3D
d9ff631e62
add gitea_filename variable 2021-03-22 21:47:28 +01:00
L3D
85e0517fbe
increase version 2021-03-22 21:35:31 +01:00
L3D
6096767d26
simplify directory handling and start using new ansible name scheme 2021-03-22 21:08:40 +01:00
L3D
6f4b740a43
new gitea version 2021-03-22 03:05:17 +01:00
L3D
791ae23361
add optional versionscheck
a simple version check that can prevent you from accidentally running an older version of this role.
2021-03-22 02:22:22 +01:00
Finwë
56375819a7
Improve ARM Support (#74)
* Gitea user should be a system user

* Improve installation system

* Download archive instead of binary
* Add checksum validation
* Add GPG check
* Add backup process before upgrading

* Improve ARM support

* Improve support for Vault Encrypted JWT tokens

* Fix spacing in gitea configuration template

When Gitea rewrite the configuration file (e.g.: the JWT token is not
set or doesn't fit their criteria), it'll align space on a per-section
basis in the .ini file.
If the template is not properly spaced, at the next Ansible run, you'll
have an enormous diff, hidding what the real changes are.

* add proper redhat/debian deps for molecule testing

* Gitea group should be a system group

* fix linting for CI

* Update CI and meta information for up-to-date tests and distros

* molecule: fix typo for redhat packages

* fix typo

* bump gitea version to 1.13.1

* Use Ubuntu keyservers to play nicely with everyone

* Update minimum required ansible version to 2.9.8

This is required for Ubuntu Focal, which comes with systemd >= 245
The Get Facts modules doesn't work well with it before the bugfix
introduced in 2.9.8

* Replace yes by True to please the linting

* Truthy values needs to be lower-case

* bump gitea version to 1.13.2

* perform gitea dump as gitea user

* need to set become to yes

* autogenerate JWT_SECRETS (#77)

* autogenerate JWT_SECRETS

Based on https://docs.gitea.io/en-us/command-line/#generate we will now autogenerate JWT_SECRETS if they are not defined.
In my opinion a much better idea than writing a value in the default config.

The check if the variables for the secrets are now 43 characters long i took out. Gitea generates itself suitable secrets, if the user given ones do not fit.

* drop ansible.builtin. syntax

* Update file permissions for "{{ gitea_home }}" (#75)

The file permissions for {{ gitea_home }} especially in conjunction with the recurse: true flag are on closer inspection very open to all and also have a +x set on files.

This should be done better. And I have done here now.

By the way: To improve the -x on normal files in his gitea installation this shell command was useful for me
```
find . -type f -exec chmod a-x {} \+;
find . -type f -exec chmod u=rwX {} \+;
```

* Bump cryptography from 3.2 to 3.3.2 (#79)

Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Gitea user should be a system user

* Improve installation system

* Download archive instead of binary
* Add checksum validation
* Add GPG check
* Add backup process before upgrading

* Improve ARM support

* Fix spacing in gitea configuration template

When Gitea rewrite the configuration file (e.g.: the JWT token is not
set or doesn't fit their criteria), it'll align space on a per-section
basis in the .ini file.
If the template is not properly spaced, at the next Ansible run, you'll
have an enormous diff, hidding what the real changes are.

* add proper redhat/debian deps for molecule testing

* Gitea group should be a system group

* fix linting for CI

* Update CI and meta information for up-to-date tests and distros

* molecule: fix typo for redhat packages

* fix typo

* bump gitea version to 1.13.1

* Use Ubuntu keyservers to play nicely with everyone

* Update minimum required ansible version to 2.9.8

This is required for Ubuntu Focal, which comes with systemd >= 245
The Get Facts modules doesn't work well with it before the bugfix
introduced in 2.9.8

* Replace yes by True to please the linting

* Truthy values needs to be lower-case

* bump gitea version to 1.13.2

* perform gitea dump as gitea user

* need to set become to yes

* check-variables.yml doesn't exists anymore

Co-authored-by: L3D <l3d@c3woc.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 17:56:31 +00:00
Simeon Keske
e83335d9fb add newline at the ent of the file 2020-05-19 14:21:12 +01:00
Simeon Keske
16707f4a38 Allow to set a custom Download-URL for gitea 2020-05-19 14:21:12 +01:00
Thomas Maurice
168be1f6bb Bunch of improvements around testing and ansible galaxy
* added a license info
 * added galaxy tags/platforms
 * added travis test support
 * testing the playbook using molecule
2019-03-16 12:11:02 +00:00