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

65 commits

Author SHA1 Message Date
L. Alberto Giménez
7e7626ed2a Fix check mode for binary download task
In check_mode, the binary download task depends on the execution of the
previous one, which uses the module shell to fill in a variable. In the
download binary task we use a field on that variable that does not exist
in check_mode, so the task fails.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
2020-05-15 09:47:24 +01:00
Thomas Maurice
cdfb5bd354 Fix linting 2020-04-20 15:38:03 +01:00
dhs
d65ac0f919 Update main.yml
remove debugging remnant
2020-04-20 15:09:35 +01:00
dhs
7e59a636cb improved testing 2020-04-20 15:09:35 +01:00
dhach
15a5f64e8a check that jwt token is < 32 chars to prevent gitea from crashing 2020-04-20 15:02:41 +01: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
37b1ff8837 #17 fix the quality score of the module 2019-04-30 19:45:20 +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
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
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
ikarulus
ebddb8b7d4 add version var 2019-01-10 21:45:34 +00:00
Thomas Maurice
59d3cfc7c8
First commit 2017-01-10 22:09:34 +01:00