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: I31d93b2147838f04750bb1380602406484ba400b
This commit is contained in:
parent
310b799873
commit
b7b2134b9d
@ -17,17 +17,19 @@ galaxy_info:
|
||||
author: rcbops
|
||||
description: Pinning of apt packages
|
||||
company: Rackspace
|
||||
role_name: apt_cache_pinning
|
||||
namespace: openstack
|
||||
license: Apache2
|
||||
min_ansible_version: 1.6.6
|
||||
min_ansible_version: "2.10"
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- bullseye
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- xenial
|
||||
- bionic
|
||||
categories:
|
||||
- focal
|
||||
- jammy
|
||||
galaxy_tags:
|
||||
- cloud
|
||||
- apt
|
||||
- pinning
|
||||
|
@ -17,6 +17,7 @@
|
||||
template:
|
||||
src: apt_pinned_packages.perf.j2
|
||||
dest: "/etc/apt/preferences.d/{{ apt_package_pinning_file_name }}"
|
||||
mode: "0644"
|
||||
when:
|
||||
- ansible_facts['pkg_mgr'] == 'apt'
|
||||
- apt_pinned_packages is defined
|
||||
|
Loading…
Reference in New Issue
Block a user