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:
parent
d7b711666a
commit
5104ffebfd
3 changed files with 13 additions and 13 deletions
1
.github/workflows/ansible-linting-check.yml
vendored
1
.github/workflows/ansible-linting-check.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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, '>=')"
|
||||
|
|
Loading…
Reference in a new issue