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
|
author: do1jlr
|
||||||
description: Ansible role to configure and deploy gitea, a painless self-hosted Git service.
|
description: Ansible role to configure and deploy gitea, a painless self-hosted Git service.
|
||||||
license: "BSD-3-Clause"
|
license: "BSD-3-Clause"
|
||||||
min_ansible_version: 2.11
|
min_ansible_version: "2.11"
|
||||||
github_branch: main
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions: all
|
versions:
|
||||||
|
- all
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions: all
|
versions:
|
||||||
|
- all
|
||||||
- name: Fedora
|
- name: Fedora
|
||||||
versions: all
|
versions:
|
||||||
|
- all
|
||||||
- name: EL
|
- name: EL
|
||||||
versions: all
|
versions:
|
||||||
|
- all
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- gitea
|
- gitea
|
||||||
- git
|
- git
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
- name: Get service facts
|
- name: Get service facts
|
||||||
ansible.builtin.service_facts:
|
ansible.builtin.service_facts:
|
||||||
|
|
||||||
- block:
|
- name: Backup block
|
||||||
|
block:
|
||||||
- name: Stopping gitea before upgrade
|
- name: Stopping gitea before upgrade
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- block:
|
- name: Dependency block
|
||||||
|
block:
|
||||||
- name: Update apt cache
|
- name: Update apt cache
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
@ -20,7 +21,8 @@
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
|
|
||||||
- block:
|
- name: Install block
|
||||||
|
block:
|
||||||
- name: Download gitea archive
|
- name: Download gitea archive
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "{{ gitea_dl_url }}.xz"
|
url: "{{ gitea_dl_url }}.xz"
|
||||||
|
|
Loading…
Reference in a new issue