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

345 commits

Author SHA1 Message Date
Bèr Kessels
fe4db0bb07 Add username and password for smpt servers. Defaulting to blank 2019-06-16 19:19:24 +01:00
Thomas Maurice
b15b242dde Update gitea to v1.8.2 2019-06-03 22:02:47 +02:00
L3D
9c536d77a9 Simplify configuration file
I kicked out some config values, that are not controlled via ansible variables.
Maybe it makes more sense if we only customize the values, we are really changing. *(like database, domain and other behavior...)*

I had the problem, that after upgrading gitea it won't run with the config provided by this ansible role. But the default config worked fine.

I assume that the official gitea chenged and updated some options.
Some options in the old config file of this role did not appear in the [official cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/).

@thomas-maurice: What did you think about it?
Better track every value and update it in our config.

Or clean up the config and only keep the parameter we really need and let gitea set everything else with their default values?
2019-06-02 23:04:10 +02:00
L3D
5e971278c3 Fixing deprecation warning
ANsible comes with the error:
```bash
[DEPRECATION WARNING]: evaluating gitea_fail2ban_enabled as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
```

appending ``|bool`` after a boolean variable will resolve the issue.
2019-05-23 21:19:21 +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
Thomas Maurice
6b682fdf9e Upgrade the travis requirements 2019-05-12 11:43:00 +01:00
Thomas Maurice
ccec85feab Upgrade the installed version of gitea to 1.8.1 2019-05-12 11:40:14 +01:00
Thomas Maurice
37b1ff8837 #17 fix the quality score of the module 2019-04-30 19:45:20 +01:00
Trysdyn Black
6cbbbfdf0e Switch gitea_version_check to true by default
Pursuant to the conversation in https://github.com/thomas-maurice/ansible-role-gitea/pull/16
2019-04-30 08:55:21 +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
Lilian Roller
609a47de72 Update gitea and create shell variable
The current gitea version is updated to 1.7.5.

And now you are able to customize the shell of your gitea user.
[Issue 14](https://github.com/thomas-maurice/ansible-role-gitea/issues/14)
2019-04-09 13:40:38 +01:00
L3D
b812f562b0 update current stable version of gitea
Based on https://github.com/go-gitea/gitea/releases the current stable version of gitea is ``1.7.4``.

Thank you realy much @thomas-maurice and @madddi for updating this role.
2019-03-25 19:26:05 +00:00
Thomas Maurice
9994071a3d galaxy does not like tags with dashes 2019-03-16 12:35:28 +00:00
Thomas Maurice
221345c780 add galaxy notification 2019-03-16 12:32:44 +00:00
Thomas Maurice
24962d8df3 lint 2019-03-16 12:11:02 +00:00
Thomas Maurice
335e71ef17 let the travis die and retry fun start 2019-03-16 12:11:02 +00: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
5e2f160441 remove trailing whitespace 2019-03-16 10:07:04 +00:00
Mathias Merscher
b2a6429823 adds template variable for SHOW_REGISTRATION_BUTTON 2019-03-16 10:07:04 +00:00
Mathias Merscher
8837b4522b fix indexer config, keep old openid config 2019-03-16 10:07:04 +00:00
Mathias Merscher
1997360f71 adds template variables for oauth config 2019-03-16 10:07:04 +00:00
Mathias Merscher
d339c620e9 adds template variable for IS_TLS_ENABLED 2019-03-16 10:07:04 +00:00
Mathias Merscher
fcae409935 adds all new config parameters from app.ini.sample
Version: e777c6bdc6/custom/conf/app.ini.sample
2019-03-16 10:07:04 +00:00
Mathias Merscher
48cf9f8fcb update config ini comments 2019-03-16 10:07:04 +00:00
Mathias Merscher
062325f27e adds new ini parameter DEFAULT_PRIVATE 2019-03-16 10:07:04 +00:00
Mathias Merscher
ac01b1e467 add new ini parameter INTERNAL_TOKEN 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
a9414f6593 consistent task name capitalization 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
de4e7fa6e8 bump default version to 1.7.3 2019-03-15 17:03:52 +00:00
Mathias Merscher
c5e01c68cd update README 2019-03-09 13:38:43 +00:00
Mathias Merscher
af20311115 adds mailer config parameters 2019-03-09 13:38:43 +00:00
Mathias Merscher
fb63b41825 fix gitea_db_passord typo 2019-03-09 13:37:48 +00:00
h0chi
dc87ede53f Update main.yml 2019-02-22 17:39:12 +00:00
h0chi
6153ad8c54 Update gitea.ini.j2 2019-02-22 17:39:12 +00:00
Thomas Maurice
397c4c938e commit suggested change
Co-Authored-By: ikarulus <github.ikarulus@zer.one>
2019-01-18 18:11:15 +00:00
ikarulus
2b87af01a5 meta inf for galaxy compat 2019-01-18 18:11:15 +00:00
ikarulus
ebddb8b7d4 add version var 2019-01-10 21:45:34 +00:00
Thomas Maurice
d3eba41cd5
Merge pull request #1 from max-wittig/patch-1
docs(readme): fix duplicate gitea_ssh_port in example
2018-07-12 11:26:18 +01: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