76b399999e
remove not working molecule test
2021-03-22 20:51:52 +01:00
8e1735117d
Merge pull request #9 from roles-ansible/v
...
add optional versionscheck
2021-03-22 02:26:10 +01:00
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
ff2cfb1edc
improve default privacy rules
2021-03-22 02:16:11 +01:00
2b79fa7a9b
fix typo
2021-03-22 00:47:02 +01:00
42f6a4e594
cleanup README
2021-03-22 00:35:16 +01:00
889c3ac713
reorder logging variables
2021-03-22 00:06:53 +01:00
9f867af9ca
reorder Issue and pull request attachments variables
2021-03-21 23:45:20 +01:00
4aa5562c49
reorder pictures variables
2021-03-21 23:34:25 +01:00
f568d8f13c
reorder session variables
2021-03-21 23:26:42 +01:00
fc7025755a
reorder mailer variables
2021-03-21 23:17:13 +01:00
9e98056b43
reorder service variables
2021-03-21 22:58:34 +01:00
ced73dde98
reorder security variables and add have I been pwned var
2021-03-21 22:45:27 +01:00
0c4185d369
Update README.md
2021-03-21 18:06:42 +01:00
62b0bc8ef8
improve linting
2021-03-21 17:57:41 +01:00
0b23826553
reorder gitea indexer config
2021-03-21 17:56:16 +01:00
32a1532f7a
reorder gitea database config
2021-03-21 17:42:28 +01:00
1cb903924a
reorder gitea server variables
2021-03-21 17:29:04 +01:00
db9c8c4341
reorder variables based on config-cheat-sheet
2021-03-21 17:08:17 +01:00
d8653d9439
Update README.md
2021-03-21 02:27:20 +01:00
6ec2f8ed04
change secret mechanism and continue with README clenaup
2021-03-21 02:22:36 +01:00
154a0ac752
Start reordering variables and gitea_auto_watch_new_repos variable
2021-03-21 02:02:15 +01:00
fb884c7263
resolve merge conflicts from https://github.com/thomas-maurice/ansible-role-gitea/pull/62
2021-03-21 00:27:27 +01:00
bb6ae52acd
Change meta and README Information
2021-03-21 00:07:30 +01:00
fe43c45e1e
Merge branch 'version'
2021-03-20 23:35:02 +01:00
Maxim Burgerhout
183e58f0e5
Add / correct accepted SSL modes for PostgreSQL ( #83 )
...
Supported SSL modues for PostgreSQL are: disabled, require, verify-ca
and verify-full.
This fix adds `verify-ca` to README.md and gitea.ini.j2, and corrects
`require` to `required` in README.md.
2021-02-15 18:35:27 +00:00
1127d83778
make the backup on update optional
...
Documentation and introduction of the variable `gitea_backup_on_upgrade: false`
2021-02-13 05:41:32 +01:00
9cd664d91f
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
2021-02-10 19:04:13 +00:00
L3D
67afb71160
add default "gitea_group: gitea" ( #71 )
...
* delete trailing whitespace
* Add gitea_group
This will add the `gitea_group: gitea` and will probably
RESOLVE https://github.com/thomas-maurice/ansible-role-gitea/issues/70
* update variable length
update variable length to make this role idempotent
* vars should not include special character
2021-01-27 14:13:02 +00:00
cde4a964d5
add LFS_JWT_SECRET option
...
+ Add comments about git-lfs to the README.
+ New variable for LFS_JWT_SECRET.
+ absolute path for gitea_lfs_content_path.
+ maybe some help to resolve https://github.com/thomas-maurice/ansible-role-gitea/issues/70
2021-01-22 11:07:28 +00:00
Simeon Keske
aa75493677
add option to specify extra configuration
2020-12-06 21:39:19 +00:00
Leo Maroni
8af72e355e
Add disable_git_hooks config option to security
2020-12-06 21:37:51 +00:00
Jens Timmerman
f2c8610cc4
Update README.md
2020-09-05 10:46:41 +01:00
Thomas Maurice
8b5ae578f4
Badges
2020-08-01 15:12:55 +01:00
Leo Maroni
8f2e1bcd6a
Add configuration option for enabling notify email
2020-07-28 12:23:26 +02:00
Leo Maroni
1df6bd8e23
Add config options for repository indexer
2020-06-18 07:41:59 +02:00
Leo Maroni
2b665bdb1d
Add variable to enable adding CAP_NET_BIND_SERVICE to systemd service
2020-06-03 15:16:57 +01:00
Simeon Keske
16707f4a38
Allow to set a custom Download-URL for gitea
2020-05-19 14:21:12 +01:00
Simeon Keske
259d761eb2
add variable gitea_only_allow_external_registration
2020-05-19 14:13:01 +01:00
Simeon Keske
1f88e7238a
Allow to specify default theme
2020-05-19 14:13:01 +01:00
dhach
15a5f64e8a
check that jwt token is < 32 chars to prevent gitea from crashing
2020-04-20 15:02:41 +01:00
Mathias Merscher
c50f79cf4a
adds metrics endpoint config support
2020-01-06 11:37:50 +00:00
Kim Ausloos
a8250ee7e3
Changed some wording/fixed some typo's in README
2019-10-02 19:56:40 +01:00
Bèr Kessels
b574c9ae36
Add new vars to README
2019-06-16 19:19:24 +01:00
Thomas Maurice
0ccf9b334d
Removed 'yolo wip do not use' disclaimer as this now stable enough to be used by people that are not me
2019-05-12 11:44:42 +01:00
Trysdyn Black
3226a76d94
Add toggle to do a version check before download
...
Old behavior is to download the binary of `gitea_version` every run,
then checksum it against the currently installed version to see if it needs
to be copied over.
New behavior is to attempt to extract the current running version of gitea
and only initiate the old behavior if the running version != `gitea_version`.
Default is old behavior due to the major logic change involved.
2019-04-30 08:55:21 +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
Mathias Merscher
a0804ab28b
update README with new default variables
2019-03-16 10:07:04 +00:00
Mathias Merscher
c69547f2b2
clarify fail2ban requirements
2019-03-15 17:05:09 +00:00
Mathias Merscher
559efa281f
more fail2ban config options
2019-03-15 17:05:09 +00:00
Mathias Merscher
41797ebdfd
rename gitea_install_fail2ban_config to gitea_fail2ban_enabled
2019-03-15 17:05:09 +00:00
Mathias Merscher
11374216ac
adds support for optional deployment of fail2ban jail
2019-03-15 17:05:09 +00:00
Mathias Merscher
c5e01c68cd
update README
2019-03-09 13:38:43 +00:00
Mathias Merscher
fb63b41825
fix gitea_db_passord typo
2019-03-09 13:37:48 +00:00
Max Wittig
835d600c69
docs(readme): fix duplicate gitea_ssh_port in example
...
this also fixes the markdown not showing up correctly
2018-05-31 20:55:54 +02:00
Thomas Maurice
9d685ab7a5
Add the support for mysql and postgres databases and documentation
2017-01-11 08:01:37 +01:00
Thomas Maurice
59d3cfc7c8
First commit
2017-01-10 22:09:34 +01:00