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

Fixing yamllinting errors

This commit is contained in:
L3D 2021-07-19 00:55:37 +02:00
parent 39e76e2359
commit aabcf8beb8
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -14,11 +14,11 @@
url: https://api.github.com/repos/go-gitea/gitea/releases/latest url: https://api.github.com/repos/go-gitea/gitea/releases/latest
return_content: true return_content: true
register: gitea_remote_metadata register: gitea_remote_metadata
- name: "Set fact latest gitea release" - name: "Set fact latest gitea release"
ansible.builtin.set_fact: ansible.builtin.set_fact:
gitea_remote_version: "{{ gitea_remote_metadata.json.tag_name[1:] }}" gitea_remote_version: "{{ gitea_remote_metadata.json.tag_name[1:] }}"
- name: "Set gitea version target (latest)" - name: "Set gitea version target (latest)"
ansible.builtin.set_fact: ansible.builtin.set_fact:
gitea_version_target: "{{ gitea_remote_version }}" gitea_version_target: "{{ gitea_remote_version }}"