Skip to content

Commit 094c003

Browse files
committed
update ansible version requirement
1 parent 7a3d3d5 commit 094c003

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ galaxy_info:
44
author: do1jlr
55
description: Ansible role to configure and deploy gitea, a painless self-hosted Git service.
66
license: "BSD-3-Clause"
7-
min_ansible_version: 2.9.8
7+
min_ansible_version: 2.11
88
github_branch: main
99
platforms:
1010
- name: Debian

tasks/versioncheck.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
# Copyright (c) 2021 L3D <[email protected]>
3+
# this file is released with the MIT license.
4+
# License: https://github.com/roles-ansible/ansible_role_template/blob/main/LICENSE
25
- name: Create directory for versionscheck
36
become: true
47
ansible.builtin.file:
@@ -32,11 +35,6 @@
3235
when:
3336
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck|bool
3437

35-
- name: check if '/etc/ansible-version/' is empty
36-
ansible.builtin.find:
37-
paths: '/etc/ansible-version/'
38-
register: filesFound
39-
4038
- name: write new version to remote disk
4139
become: true
4240
ansible.builtin.copy:

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ gitea_variables:
2020
paths:
2121
- 'vars'
2222

23-
playbook_version_number: 13 # should be int
23+
playbook_version_number: 14 # should be int
2424
playbook_version_path: 'do1jlr.gitea.version'

0 commit comments

Comments
 (0)