mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Added check to Forgejo
This commit is contained in:
parent
a085e0cc5c
commit
69f9ebfedf
1 changed files with 6 additions and 0 deletions
|
@ -97,6 +97,12 @@
|
|||
gitea_forgejo_signed_url: ['https://codeberg.org/attachments/ae5e50c6-e86e-4202-b95f-f142e8138e2f']
|
||||
when: ansible_check_mode
|
||||
|
||||
- name: 'Assert that remote version is higher'
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- gitea_active_version is version(gitea_remote_version, 'lt')
|
||||
fail_msg: ERROR: Remote version is lower then current version!
|
||||
|
||||
- name: Show Download URLs # noqa: H500
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ item }}"
|
||||
|
|
Loading…
Reference in a new issue