1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00
Ansible role to make sure your local client is up to date
Find a file
2020-01-15 22:36:30 +01:00
.github Update Founding infos 2020-01-15 21:41:06 +01:00
defaults Update required ansible version 2020-01-15 21:42:32 +01:00
meta Add Ansible Role to galaxy 2020-01-15 21:57:15 +01:00
tasks Improve error message 2020-01-15 21:43:37 +01:00
.travis.yml test travis 2020-01-15 22:33:09 +01:00
LICENCE initial commit 2019-10-01 23:15:15 +02:00
README.md Improve ansible galaxy docs 2020-01-15 22:05:00 +01:00
requirements.txt Requirements needed for travis 2020-01-15 22:36:30 +01:00
tox.ini test travis 2020-01-15 22:33:09 +01:00

Check Ansible Version

What is it doing?

This role check the ansible-playbook version and will fail, if it is to old. This should help prevent bigger issues with to old ansible installations

How to use?

This anisble role should be executet on localhost.

Example playbook:

With ansible galaxy:

# install role
ansible-galaxy install do1jlr.ansible_version

Example playbook:

---
- hosts: localhost
  roles:
  - do1jlr.ansible_version

Without ansible galaxy:

Add this role to your roles as ansible_version. Example:

git clone https://github.com/chaos-bodensee/role-ansible_version.git roles/ansible_version

Your Playbook could look like this:

---
- name: secure access to toolbox gateway
  hosts: localhost
  tags:
   - default
  roles:
    - ansible_version

Modifications

For possible modifications please have a look into the default Folder!