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 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
This commit is contained in:
L3D 2022-06-21 17:22:57 +02:00
parent 057533f89c
commit db0da06c08
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 7 additions and 5 deletions

View file

@ -17,8 +17,10 @@
when: not ansible_check_mode
- name: "Fail if running in check mode without versions set."
fail:
msg: "You are running this playbook in check mode : please set the gitea version with gitea_version, the URI module cannot load the latest version while in this mode."
ansible.builtin.fail:
msg: |
"You are running this playbook in check mode:
Please set the Gitea version with the variable 'gitea_version', because the URI module cannot detect the latest version in this mode."
when: ansible_check_mode and ( gitea_version not defined )
- name: "Set fact latest gitea release"

View file

@ -56,5 +56,5 @@ transfer_custom_footer:
- 'files/gitea_footer/extra_links_footer.tmpl'
- 'files/extra_links_footer.tmpl'
playbook_version_number: 37 # should be int
playbook_version_number: 38 # should be int
playbook_version_path: 'do1jlr.gitea.version'