From cc40bd5415ea1736b718b8ac0223c3105c443de8 Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 15 Jan 2020 21:57:15 +0100 Subject: [PATCH] Add Ansible Role to galaxy --- README.md | 3 ++- meta/main.yml | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 meta/main.yml diff --git a/README.md b/README.md index bbc7fbf..f93a6a7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ This anisble role should be executet on ``localhost``. **Without ansible galaxy:** -Add this role to your roles as ``ansible_version``. + +Add this role to your roles as ``ansible_version``. *Example:* ```bash git clone https://github.com/chaos-bodensee/role-ansible_version.git roles/ansible_version ``` diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..daa8aae --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,25 @@ +--- +galaxy_info: + author: L3D + description: Make sure you are only executing ansible with at least a specific ansible version. + license: "MIT" + min_ansible_version: 2.9 + github_branch: master + role_name: ansible_version + platforms: + - name: Archlinux + versions: all + - name: Debian + versions: + - all + - name: Ubuntu + versions: + - all + - name: Fedora + versions: + - all + galaxy_tags: + - version + - playbook + - versioncheck +dependencies: []