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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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: 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, '>=')"