e853561bdf
Only check for version if gitea==latest and already installed
2024-01-12 00:50:37 +01:00
Jeffrey van Pelt
c8a60c89ba
Make linter happy
2024-01-08 16:54:10 +01:00
Jeffrey van Pelt
69f9ebfedf
Added check to Forgejo
2024-01-08 16:50:45 +01:00
Jeffrey van Pelt
a085e0cc5c
Added check to stop execution when the remote version is higher then the currently installed
2024-01-08 16:47:39 +01:00
db3c5e99f0
Improve linting and cleanup
2023-10-29 16:11:12 +01:00
Jan-Piet Mens
66399c05ba
fix two small typos in task names
2023-09-10 15:21:36 +02:00
9a306158c2
cleanup variable name and values
...
Variable names cleanup
added ternary('true', 'false') where needed
default value for new variables now the same than the official docs
2023-08-30 01:08:02 +02:00
Patrick Schratz
3c6bb1d08e
Merge branch 'main' into suse
2023-08-21 15:59:43 +02:00
Michael Grote
fb4293b3e6
fix typo
2023-07-19 19:38:47 +02:00
dbcb113d21
Improve gpg permissions for forgejo
2023-05-15 15:53:48 +02:00
firesoft-de
b27d258f50
Don't become for gpg verify (also for gitea)
...
#102
2023-05-14 21:37:10 +02:00
446d20c23d
Create better error message for forgejo releases
...
+ Incremented simple version check
+ Added better error messages for chosing the wrong forgejo version
SOLVE https://github.com/roles-ansible/ansible_role_gitea/issues/106
2023-05-10 00:08:43 +02:00
pat-s
12f3c96af0
change systemd file location
2023-05-06 17:39:33 +02:00
pat-s
7e8b35642c
add gitea_gpg_keyserver_option
2023-05-06 17:29:49 +02:00
Stuart Mumford
6f47cad1cb
Don't become for gpg verify
2023-04-23 16:01:03 +00:00
Jeffrey van Pelt
1ecf6d21da
Also change gpg key tasks
2023-03-20 17:35:48 +01:00
Jeffrey van Pelt
4a4f3db890
Update all tasks that download stuff to not become, this fixes some environments with http_proxies
2023-03-20 17:31:27 +01:00
1ab7e7d87f
Explain forgejo installation
2023-01-27 01:43:17 +01:00
975be7e627
Adding support for forgejo installation
2023-01-27 01:35:16 +01:00
768f1fd4ad
prepare to use forgejo fork
2023-01-26 22:35:10 +01:00
8928b243b1
solve issue with gitea gpg key and download
...
Change gitea gpg behaviour and change download filename
2023-01-26 14:55:13 +01:00
ff02fd69de
update gitea linting
2022-09-29 23:09:19 +02:00
Nikita Iryupin
fc9ce6073e
Fix ansible-lint error
2022-08-23 10:00:10 +02:00
Nikita Iryupin
dce1b80da1
Added gitea_user_home, gitea_executable_path and gitea_configuration_path for gitea role
2022-08-22 13:33:20 +02:00
7603c93fb5
gitea_version variable is already defined
...
the gitea_version variable is always defined. But it can have values like 'latest'
2022-06-21 17:38:03 +02:00
db0da06c08
Fixing linting errors and increment version
...
Linting errors:
- Use FQCN for builtin actions.
(fail -> ansible.builtin.fail)
- line too long (175 > 170 characters)
- trailing spaces
increment version for simple version check
2022-06-21 17:25:34 +02:00
N07070
520dbaa3c2
Add check to run task in check mod & a error message.
2022-06-21 12:14:38 +02:00
mar1ad
843da0ca2b
Allow for user gitea to be added to a list of secondary groups via 'gitea_groups'
2022-06-08 15:43:29 +02:00
mar1ad
9b6de1fcdd
Fix newest ansible-lint issues
...
* schema: 'AIX' was expected (schema[meta])
This was unclear but specifying platform version "all" as a list entry, solved it
* schema: 2.11 is not of type 'string' (schema[meta])
* schema: Additional properties are not allowed ('github_branch' was unexpected) (schema[meta])
* unnamed-task: All tasks should be named
2022-06-08 11:20:53 +02:00
129674be94
starting gitea if backup failed
...
Resolving https://github.com/roles-ansible/ansible_role_gitea/issues/78
2022-05-04 20:42:23 +02:00
Jens Timmerman
fba0abac30
alternative fix for #74
...
specify full gitea path
2022-05-03 12:15:24 +02:00
c179060741
resolve linting errors
2022-03-27 05:19:36 +02:00
2f95efdf9c
Fix Typo directorys/directories
...
RESOLVE https://github.com/roles-ansible/ansible_role_gitea/issues/69
2022-02-14 11:08:49 +01:00
9f55d0eefd
use variable gitea_user and remove trailing spaces
...
since it is possible to run gitea with an other user defined in the ``{{ gitea_user }}`` variable, I built it in this command.
2022-01-23 18:03:07 +01:00
jogrie
7b0180b1f0
fixed backup failure
2022-01-23 14:08:46 +01:00
06eab17b71
update linting rules
2022-01-16 18:00:52 +01:00
3509f6bd66
user gitea is now part of gitea group
2021-10-18 14:24:07 +02:00
Jens Timmerman
ad24ff74f2
gitea secrets aren't necessarily strings
...
fixes errors like fatal: [gitea]: FAILED! => {"msg": "The conditional check 'gitea_secret_key | length == 0' failed. The error was: Unexpected templating type error occurred on ({% if gitea_secret_key | length == 0 %} True {% else %} False {% endif %}): object of type 'AnsibleVaultEncryptedUnicode' has no len()
when using an encrypted string in vault for secrets
2021-09-24 11:50:31 +02:00
aabcf8beb8
Fixing yamllinting errors
2021-07-19 00:55:37 +02:00
Robert Pufky
39e76e2359
Add 'latest' version to automatically download the latest gitea release.
...
* Versioning logic moved into separate file; versioning is determined in that
file and appropriate facts are set.
* Removed 'gitea_dl_url' from defaults/main.yml. This is now a generated fact
from tasks/set_version.yml.
* Remote gitea version is only checked if 'latest' is set, otherwise no logic
change.
* 'gitea_version' used in tasks is now 'gitea_version_target'. This is the
target install version after versioning logic is applied. No change to end
user usage of 'gitea_version' in defaults/main.yml.
* Updated documentation with usage and removal of 'gitea_dl_url'.
2021-07-16 10:16:54 -07:00
b898edfd48
allow optional public files
2021-06-03 22:51:28 +02:00
265bca3eeb
Add custom footer support
2021-06-03 21:06:04 +02:00
e27ef27706
implement custom logos
2021-06-03 17:59:14 +02:00
094c0038d4
update ansible version requirement
2021-05-10 22:49:14 +02:00
4d3289a796
import gpg key with the same user
...
import gpg key with the same user that will verify the gpg key.
RESOLVE #29
2021-05-06 15:16:31 +02:00
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
firesoft-de
391447a345
removed trailing spaces
2021-04-12 16:01:24 +02:00
firesoft-de
664c894e17
Fixed missing quotes
2021-04-12 12:39:11 +02:00
firesoft-de
18bb3f9c44
Added condition to only configure fail2ban if it is installed
2021-04-12 12:30:52 +02:00
firesoft-de
552747dda9
Added package_facts to determine if fail2ban is installed
2021-04-12 12:29:42 +02:00