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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -1,28 +1,27 @@
--- ---
galaxy_info: galaxy_info:
role_name: ansile_version
author: do1jlr author: do1jlr
description: Make sure you are only executing ansible with at least a specific ansible version. description: Make sure you are only executing ansible with at least a specific ansible version.
license: "MIT" license: "MIT"
min_ansible_version: 2.8 min_ansible_version: '2.11'
github_branch: main
role_name: ansible_version
platforms: platforms:
- name: Archlinux - name: ArchLinux
versions: all versions: ['all']
- name: Debian - name: Debian
versions: all versions: ['all']
- name: Ubuntu - name: Ubuntu
versions: all versions: ['all']
- name: Alpine - name: Alpine
version: all versions: ['all']
- name: EL - name: EL
versions: all versions: ['all']
- name: Fedora - name: Fedora
versions: all versions: ['all']
- name: Devuan - name: Devuan
versions: all versions: ['all']
- name: GenericLinux - name: GenericLinux
versions: all versions: ['all']
galaxy_tags: galaxy_tags:
- version - version
- playbook - 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: ansible.builtin.assert:
that: that:
- "ansible_version.full is version_compare(check_ansible_version, '>=')" - "ansible_version.full is version_compare(check_ansible_version, '>=')"