Remove ansible-core and molecule pins

This fixes the current linter job issue.
Also makes necessary changes for molecule 3.x.

Change-Id: Ia162563838c59c47fbcd1cc3e60af496674be9e1
This commit is contained in:
rabi 2022-11-24 16:53:10 +05:30
parent 82d657351e
commit 39936a4d0a
5 changed files with 29 additions and 27 deletions

View File

@ -2,5 +2,5 @@
# to licensing conflicts. But we sill need to be able to pull them in for # to licensing conflicts. But we sill need to be able to pull them in for
# lint checks and want to document these as ansible specific things that may # lint checks and want to document these as ansible specific things that may
# be required for this repository. # be required for this repository.
ansible-core<2.12 ansible-core
ansible-lint ansible-lint

View File

@ -1,10 +1,10 @@
--- ---
galaxy_info: galaxy_info:
author: namespace: openstack
- Mathie Bultel role_name: tripleo_upgrade
- Marius Cornea author: OpenStack
description: "Manage OpenStack upgrade" description: "Manage OpenStack upgrade"
company: company: Red Hat
# If the issue tracker for your role is not on github, uncomment the # If the issue tracker for your role is not on github, uncomment the
# next line and provide a value # next line and provide a value
@ -19,7 +19,7 @@ galaxy_info:
# - CC-BY # - CC-BY
license: Apache 2.0 license: Apache 2.0
min_ansible_version: 2.4 min_ansible_version: 2.8
# Optionally specify the branch Galaxy will use when accessing the GitHub # Optionally specify the branch Galaxy will use when accessing the GitHub
# repo for this role. During role install, if no tags are available, # repo for this role. During role install, if no tags are available,

View File

@ -14,21 +14,25 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
- name: openstack-operations roles:
- name: openstack-operations
scm: git scm: git
src: https://opendev.org/openstack/ansible-role-openstack-operations src: https://opendev.org/openstack/ansible-role-openstack-operations
version: master version: master
trackbranch: master trackbranch: master
# ansible-config_template action plugin # ansible-config_template action plugin
- name: config_template - name: config_template
scm: git scm: git
src: https://opendev.org/openstack/ansible-config_template src: https://opendev.org/openstack/ansible-config_template
version: master version: master
trackbranch: master trackbranch: master
- name: tripleo-ansible - name: tripleo-ansible
scm: git scm: git
src: https://opendev.org/openstack/tripleo-ansible src: https://opendev.org/openstack/tripleo-ansible
version: master version: master
trackbranch: master trackbranch: master
collections:
- community.general

View File

@ -44,10 +44,8 @@ scenario:
- prepare - prepare
- converge - converge
lint: lint: |
enabled: false flake8
verifier: verifier:
name: testinfra name: testinfra
lint:
name: flake8

View File

@ -9,5 +9,5 @@ pytest-html
pytest-xdist pytest-xdist
mock mock
sh>=1.12.14,<1.13 sh>=1.12.14,<1.13
molecule>=2.22rc1,<3 molecule>=3.3.4
netaddr netaddr