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

Merge pull request #15 from roles-ansible/1.13.0

Update default to 1.13.0
This commit is contained in:
L3D 2022-12-28 16:48:46 +01:00 committed by GitHub
commit 2bf5d7c436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 32 deletions

View file

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

View file

@ -1,18 +0,0 @@
---
name: Ansible check ubuntu:trusty
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:trusty
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
with:
targets: "./"

View file

@ -1,2 +1,2 @@
---
check_ansible_version: '2.11.6'
check_ansible_version: '2.13.0'

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, '>=')"