1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

update linting

This commit is contained in:
L3D 2024-03-21 15:33:40 +01:00
parent 4115177466
commit 5acb5afcb6
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -50,9 +50,12 @@
register: gitea_forgejo_remote_tags_metadata register: gitea_forgejo_remote_tags_metadata
become: false become: false
rescue: rescue:
- name: "Error Downloading https://{{ gitea_forgejo_repo }}/api/v1/repos/forgejo/forgejo/releases/tags/v{{ gitea_version_target }}" - name: "Error Downloading v{{ gitea_version_target }}"
ansible.builtin.fail: ansible.builtin.fail:
msg: "We did not find the forgejo version you specified. Are you sure that '{{ gitea_version_target }}' is a valid forgejo version?" msg: |
We did not find the forgejo version you specified.
Are you sure that '{{ gitea_version_target }}' is a valid forgejo version?
Please verify 'https://{{ gitea_forgejo_repo }}/api/v1/repos/forgejo/forgejo/releases/tags/v{{ gitea_version_target }}' is a valid URL!
- name: "Generate forgejo download url" - name: "Generate forgejo download url"
ansible.builtin.set_fact: ansible.builtin.set_fact: