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