Support ansible-collections-openstack 2 and later
Change-Id: Ibff355af7be0735741a2fbb1a81c3c64e3f52a94
This commit is contained in:
parent
b99ff7f1c4
commit
86dc21a3fe
@ -1,4 +1,4 @@
|
|||||||
collections:
|
collections:
|
||||||
- name: openstack.cloud
|
- name: openstack.cloud
|
||||||
version: '>=1.3.0,<2.0.0'
|
version: '>=2.0.0'
|
||||||
source: https://galaxy.ansible.com
|
source: https://galaxy.ansible.com
|
||||||
|
@ -92,14 +92,6 @@
|
|||||||
group: "{{ ansible_user_gid }}"
|
group: "{{ ansible_user_gid }}"
|
||||||
when: copy_from_local_path | bool
|
when: copy_from_local_path | bool
|
||||||
|
|
||||||
# FIXME(dtantsur): downgrade openstacksdk since ansible-collections-openstack
|
|
||||||
# before 2.0.0 cannot work with 0.99.0. Remove when we use >=2.0.0.
|
|
||||||
- name: downgrade openstacksdk in upper constraints
|
|
||||||
lineinfile:
|
|
||||||
path: "{{ upper_constraints_file }}"
|
|
||||||
regexp: "^openstacksdk="
|
|
||||||
line: "openstacksdk===0.61.0"
|
|
||||||
|
|
||||||
- import_tasks: prepare_libvirt.yml
|
- import_tasks: prepare_libvirt.yml
|
||||||
|
|
||||||
- name: truncate explicit list of vm names
|
- name: truncate explicit list of vm names
|
||||||
|
@ -39,17 +39,11 @@
|
|||||||
vars:
|
vars:
|
||||||
package: pymysql
|
package: pymysql
|
||||||
|
|
||||||
- name: "Remove python-openstackclient from upper constraints"
|
|
||||||
lineinfile:
|
|
||||||
path: "{{ upper_constraints_file }}"
|
|
||||||
regexp: "^python\\-openstackclient"
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: "Install python-openstackclient"
|
- name: "Install python-openstackclient"
|
||||||
include_role:
|
include_role:
|
||||||
name: bifrost-pip-install
|
name: bifrost-pip-install
|
||||||
vars:
|
vars:
|
||||||
package: "python-openstackclient<6.1.0"
|
package: python-openstackclient
|
||||||
|
|
||||||
- name: "Install keystone"
|
- name: "Install keystone"
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -75,11 +75,3 @@
|
|||||||
- copy_from_local_path | bool
|
- copy_from_local_path | bool
|
||||||
- item.source_install | default(true) | bool
|
- item.source_install | default(true) | bool
|
||||||
- item.enabled | default(true) | bool
|
- item.enabled | default(true) | bool
|
||||||
|
|
||||||
# FIXME(dtantsur): downgrade openstacksdk since ansible-collections-openstack
|
|
||||||
# before 2.0.0 cannot work with 0.99.0. Remove when we use >=2.0.0.
|
|
||||||
- name: downgrade openstacksdk in upper constraints
|
|
||||||
lineinfile:
|
|
||||||
path: "{{ upper_constraints_file }}"
|
|
||||||
regexp: "^openstacksdk="
|
|
||||||
line: "openstacksdk===0.61.0"
|
|
||||||
|
@ -35,19 +35,10 @@
|
|||||||
voting: false
|
voting: false
|
||||||
- bifrost-collections-src:
|
- bifrost-collections-src:
|
||||||
voting: false
|
voting: false
|
||||||
# FIXME(dtantsur): downgrade ansible-collections-openstack
|
|
||||||
# and openstacksdk because the former has not been ported
|
|
||||||
# yet to openstacksdk >=0.99.0
|
|
||||||
required-projects: &bifrost_collections_required_projects
|
required-projects: &bifrost_collections_required_projects
|
||||||
- name: openstack/ansible-collections-openstack
|
- openstack/ansible-collections-openstack
|
||||||
override-checkout: stable/1.0.0
|
|
||||||
- name: openstack/openstacksdk
|
|
||||||
override-checkout: stable/yoga
|
|
||||||
- bifrost-keystone-collections-src:
|
- bifrost-keystone-collections-src:
|
||||||
voting: false
|
voting: false
|
||||||
# FIXME(dtantsur): downgrade ansible-collections-openstack
|
|
||||||
# and openstacksdk because the former has not been ported
|
|
||||||
# yet to openstacksdk >=0.99.0
|
|
||||||
required-projects: *bifrost_collections_required_projects
|
required-projects: *bifrost_collections_required_projects
|
||||||
- kolla-ansible-ubuntu-bifrost:
|
- kolla-ansible-ubuntu-bifrost:
|
||||||
voting: false
|
voting: false
|
||||||
|
Loading…
Reference in New Issue
Block a user