From 70d3b8bcd9ace415d9768b888d37d3f4f34b53df Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 11 Jul 2023 19:30:46 +0200 Subject: [PATCH] Fix linters issue and metadata With update of ansible-lint to version >=6.0.0 a lot of new linters were added, that enabled by default. In order to comply with linter rules we're applying changes to the role. With that we also update metdata to reflect current state. Change-Id: Ib46df44ae2251932cf9169721ef463f0ec78b64e --- meta/main.yml | 12 +++++++----- tasks/main.yml | 6 ++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index 96e6c96..5ae3a9b 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -17,20 +17,22 @@ galaxy_info: author: rcbops description: Installation and setup of memcached company: Rackspace + role_name: memcached_server + namespace: openstack license: Apache2 - min_ansible_version: 2.2 + min_ansible_version: "2.10" platforms: - name: Debian versions: - - buster + - bullseye - name: Ubuntu versions: - - bionic - focal + - jammy - name: EL versions: - - 8 - categories: + - "9" + galaxy_tags: - cloud - memcached - development diff --git a/tasks/main.yml b/tasks/main.yml index af4604e..e87d2b1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,11 +28,13 @@ tags: - always -- include_tasks: memcached_install.yml +- name: Importing memcached_install tasks + import_tasks: memcached_install.yml tags: - memcached_server-install -- include_tasks: memcached_config.yml +- name: Importing memcached_config tasks + import_tasks: memcached_config.yml tags: - memcached_server-config