{"id":21835149,"url":"https://github.com/roles-ansible/ansible_role_versioncheck","last_synced_at":"2026-05-10T16:02:42.507Z","repository":{"id":42381426,"uuid":"212199056","full_name":"roles-ansible/ansible_role_versioncheck","owner":"roles-ansible","description":"Ansible role to make sure your local client is up to date","archived":false,"fork":false,"pushed_at":"2022-12-28T15:48:47.000Z","size":90,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T04:39:59.025Z","etag":null,"topics":["ansible","ansible-role","hacktoberfest","role-ansible","versioning"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/do1jlr/ansible_version/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roles-ansible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["do1jlr"],"liberapay":"L3D"}},"created_at":"2019-10-01T21:03:17.000Z","updated_at":"2023-10-12T01:29:09.000Z","dependencies_parsed_at":"2023-01-31T07:00:59.694Z","dependency_job_id":null,"html_url":"https://github.com/roles-ansible/ansible_role_versioncheck","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/roles-ansible/ansible_role_versioncheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_role_versioncheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_role_versioncheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_role_versioncheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_role_versioncheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roles-ansible","download_url":"https://codeload.github.com/roles-ansible/ansible_role_versioncheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_role_versioncheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273998538,"owners_count":25204799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","hacktoberfest","role-ansible","versioning"],"created_at":"2024-11-27T20:18:01.076Z","updated_at":"2026-05-10T16:02:37.473Z","avatar_url":"https://github.com/roles-ansible.png","language":null,"funding_links":["https://github.com/sponsors/do1jlr","https://liberapay.com/L3D"],"categories":[],"sub_categories":[],"readme":"[![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/ansible_role_versioncheck/master/.github/galaxy.svg?sanitize=true)](https://galaxy.ansible.com/do1jlr/ansible_version/)  [![MIT License](https://raw.githubusercontent.com/roles-ansible/ansible_role_versioncheck/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/ansible_role_versioncheck/blob/master/LICENSE)\n\n Check Ansible Version\n========================\n\n What is it doing?\n--------------\n\nThis role check the ansible-playbook version and will fail, if it is to old.\nThis should help prevent bigger issues with to old ansible installations\n\n How to use?\n-----------\nThis anisble role should be executet on ``localhost``.\n\n### Example playbook:\n**With ansible galaxy:**\n\n```bash\n# install role\nansible-galaxy install do1jlr.ansible_version\n```\n\nExample playbook:\n```\n---\n- hosts: localhost\n  roles:\n  - {role: do1jlr.ansible_version, tags: [version, always], gather_facts: false}\n```\n\n**Without ansible galaxy:**\n\nAdd this role to your roles as ``ansible_version``. *Example:*\n```bash\ngit clone https://github.com/roles-ansible/ansible_role_versioncheck.git roles/ansible_version\n```\n\nYour Playbook could look like this:\n```ini\n---\n- name: check if ansible is not to old\n  hosts: localhost\n  tags:\n    - default\n    - version\n    - always\n  roles:\n    - ansible_version\n  gather_facts: false\n```\n\n Modifications\n------------\n\nFor possible modifications please have a look into the ``default`` Folder!\n\n\n Participation\n-------------\nThis role is developed on [github](https://github.com/roles-ansible/ansible_role_versioncheck.git).\nFeel free to add any Issues or PullRequests there. Thanks \u003c3\n\n\n Testing\n---------\nThis role is tested with [these github-action](https://github.com/search?q=topic%3Acheck-ansible+topic%3Agithub-actions+org%3Aroles-ansible\u0026type=Repositories) tests for different versions of debian and ubuntu. Linting is tested via travis-ci and the official ansible github action.\nIf you want to find out more about our tests, please have a look at the github marketplace.\n\n| test status | Github Marketplace |\n| :---------  | :----------------  |\n| [![Ansible Lint check](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20Lint%20check/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+Lint+check%22) | [ansible-lint action](https://github.com/marketplace/actions/ansible-lint) |\n| [![Yamllint GitHub Actions](https://github.com/roles-ansible/ansible_role_versioncheck/actions/workflows/yamllint.yaml/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions/workflows/yamllint.yaml) | [yamllint-github-action](https://github.com/marketplace/actions/yamllint-github-action) |\n| [![Galaxy Release](https://github.com/roles-ansible/ansible_role_versioncheck/actions/workflows/galaxy.yml/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions/workflows/galaxy.yml) | [publish-ansible-role-to-galaxy](https://github.com/marketplace/actions/publish-ansible-role-to-galaxy) |\n| [![Ansible check debian:stable](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20debian:stable/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+debian%3Astable%22) | [ansible test with debian stable](https://github.com/marketplace/actions/check-ansible-debian-stable) |\n| [![Ansible check debian:sid](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20debian:sid/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+debian%3Asid%22) | [ansible test with debian sid](https://github.com/marketplace/actions/check-ansible-debian-sid) |\n| [![Ansible check debian:buster](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20debian:buster/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+debian%3Abuster%22) | [ansible test with debian buster](https://github.com/marketplace/actions/check-ansible-debian-buster) |\n| [![Ansible check debian:stretch](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20debian:stretch/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+debian%3Astretch%22) | [ansible test with debian stretch](https://github.com/marketplace/actions/check-ansible-debian-stretch) |\n| [![Ansible check ubuntu:latest](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20ubuntu:latest/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+ubuntu%3Alatest%22) | [ansible test with ubuntu latest](https://github.com/marketplace/actions/check-ansible-ubuntu-latest) |\n| [![Ansible check ubuntu:bionic](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20ubuntu:bionic/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+ubuntu%3Abionic%22) | [ansible test with ubuntu bionic](https://github.com/marketplace/actions/check-ansible-ubuntu-bionic) |\n| [![Ansible check ubuntu:trusty](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20ubuntu:trusty/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+ubuntu%3Atrusty%22) | [ansible test with ubuntu trusty](https://github.com/marketplace/actions/check-ansible-ubuntu-trusty) |\n| [![Ansible check centos:centos7](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20centos:centos7/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+centos%3Acentos7%22) | [ansible test with ubuntu xenial](https://github.com/marketplace/actions/check-ansible-centos-centos7) |\n| [![Ansible check centos:centos8](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20centos:centos8/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+centos%3Acentos8%22) | [ansible test with ubuntu xenial](https://github.com/marketplace/actions/check-ansible-centos-centos8) |\n| [![Ansible check centos:latest](https://github.com/roles-ansible/ansible_role_versioncheck/workflows/Ansible%20check%20centos:latest/badge.svg)](https://github.com/roles-ansible/ansible_role_versioncheck/actions?query=workflow%3A%22Ansible+check+centos%3Alatest%22) | [ansible test with ubuntu xenial](https://github.com/marketplace/actions/check-ansible-centos-latest) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froles-ansible%2Fansible_role_versioncheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froles-ansible%2Fansible_role_versioncheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froles-ansible%2Fansible_role_versioncheck/lists"}