mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Merge pull request #81 from mar1ad/ansible-lint
Fix newest ansible-lint issues
This commit is contained in:
commit
5dca8875bb
3 changed files with 15 additions and 9 deletions
|
@ -4,17 +4,20 @@ galaxy_info:
|
|||
author: do1jlr
|
||||
description: Ansible role to configure and deploy gitea, a painless self-hosted Git service.
|
||||
license: "BSD-3-Clause"
|
||||
min_ansible_version: 2.11
|
||||
github_branch: main
|
||||
min_ansible_version: "2.11"
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions: all
|
||||
versions:
|
||||
- all
|
||||
- name: Ubuntu
|
||||
versions: all
|
||||
versions:
|
||||
- all
|
||||
- name: Fedora
|
||||
versions: all
|
||||
versions:
|
||||
- all
|
||||
- name: EL
|
||||
versions: all
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- gitea
|
||||
- git
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
- name: Get service facts
|
||||
ansible.builtin.service_facts:
|
||||
|
||||
- block:
|
||||
- name: Backup block
|
||||
block:
|
||||
- name: Stopping gitea before upgrade
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- block:
|
||||
- name: Dependency block
|
||||
block:
|
||||
- name: Update apt cache
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
|
@ -20,7 +21,8 @@
|
|||
retries: 5
|
||||
delay: 2
|
||||
|
||||
- block:
|
||||
- name: Install block
|
||||
block:
|
||||
- name: Download gitea archive
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ gitea_dl_url }}.xz"
|
||||
|
|
Loading…
Reference in a new issue