1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00

update lint

This commit is contained in:
L3D 2022-12-27 22:54:49 +01:00
parent d7b711666a
commit 5104ffebfd
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 13 additions and 13 deletions

View file

@ -10,6 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:

View file

@ -1,28 +1,27 @@
---
galaxy_info:
role_name: ansile_version
author: do1jlr
description: Make sure you are only executing ansible with at least a specific ansible version.
license: "MIT"
min_ansible_version: 2.8
github_branch: main
role_name: ansible_version
min_ansible_version: '2.11'
platforms:
- name: Archlinux
versions: all
- name: ArchLinux
versions: ['all']
- name: Debian
versions: all
versions: ['all']
- name: Ubuntu
versions: all
versions: ['all']
- name: Alpine
version: all
versions: ['all']
- name: EL
versions: all
versions: ['all']
- name: Fedora
versions: all
versions: ['all']
- name: Devuan
versions: all
versions: ['all']
- name: GenericLinux
versions: all
versions: ['all']
galaxy_tags:
- version
- playbook

View file

@ -1,5 +1,5 @@
---
- name: "check if ansible version is above {{ check_ansible_version }}"
- name: "Check if ansible version is above {{ check_ansible_version }}"
ansible.builtin.assert:
that:
- "ansible_version.full is version_compare(check_ansible_version, '>=')"