Skip to content

Commit

Permalink
Adds support for Ansible 2.8, bump mimimum to 2.6
Browse files Browse the repository at this point in the history
Updates the minimum version of Ansible from 2.5 to 2.6, and the maximum
supported version from 2.7 to 2.8.

Change-Id: I5aeb28424a8d1920b58ca73e37131d8cbfeabf29
  • Loading branch information
jovial committed Dec 12, 2019
1 parent ea46396 commit 8454cf8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
7 changes: 6 additions & 1 deletion ansible/kolla-ansible.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: Gather facts for localhost
hosts: localhost
gather_facts: true
tags: always

- name: Set interfaces for overcloud hosts
hosts: overcloud
tags:
Expand Down Expand Up @@ -213,7 +218,7 @@
hosts: localhost
tags:
- kolla-ansible
gather_facts: true
gather_facts: false
vars:
# We need to reference configuration for the network node.
# We pick the first host from the group for this. It is possible that at
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/kolla-ansible/templates/requirements.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kolla-ansible=={{ kolla_openstack_release }}
{% endif %}
# Limit the version of ansible used by kolla-ansible to avoid new releases from
# breaking tested code. Changes to this limit should be tested.
ansible>=2.5,<2.8
ansible>=2.6,<2.9
{% if kolla_ansible_venv_extra_requirements is defined %}
{% for item in kolla_ansible_venv_extra_requirements %}
{{ item }}
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/ansible-2.6-2.8-ce141db0edb87e1c.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
upgrade:
- |
Updates the minimum supported version of Ansible from 2.5 to 2.6, and the
maximum supported version from 2.7 to 2.8. This is true for both Kayobe and
Kolla Ansible.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.

pbr>=2.0 # Apache-2.0
ansible>=2.5.0,<2.8.0 # GPLv3
ansible>=2.6.0,<2.9.0 # GPLv3
cliff>=2.5.0,<2.15.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD
PyYAML>=3.10.0 # MIT
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
- src: stackhpc.os-ironic-state
version: v1.2.0
- src: stackhpc.os-networks
version: v1.2.0
version: v1.3.1
- src: stackhpc.os-openstackclient
version: v1.3.0
- src: stackhpc.os-shade
Expand Down

0 comments on commit 8454cf8

Please sign in to comment.