1
1
Fork 0
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:
Jeffrey van Pelt 2024-01-08 16:50:45 +01:00
parent a085e0cc5c
commit 69f9ebfedf
No known key found for this signature in database
GPG key ID: 39EFF6AA1F5B11A0

View file

@ -97,6 +97,12 @@
gitea_forgejo_signed_url: ['https://codeberg.org/attachments/ae5e50c6-e86e-4202-b95f-f142e8138e2f'] gitea_forgejo_signed_url: ['https://codeberg.org/attachments/ae5e50c6-e86e-4202-b95f-f142e8138e2f']
when: ansible_check_mode 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 - name: Show Download URLs # noqa: H500
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ item }}" msg: "{{ item }}"