Use tripleo-operator-ansible for undercloud install
Related-Blueprint: tripleo-operator-ansible Change-Id: Ifdafd49e430f7898add580a5a9d8b2f70798e285 Depends-On: https://review.opendev.org/#/c/701459/ Depends-On: https://review.opendev.org/#/c/699311/
This commit is contained in:
parent
af6856225e
commit
309d8a9cd7
|
@ -14,6 +14,7 @@ repos:
|
||||||
- https://opendev.org/openstack/openstack-ansible-os_tempest
|
- https://opendev.org/openstack/openstack-ansible-os_tempest
|
||||||
- https://opendev.org/openstack/ansible-config_template
|
- https://opendev.org/openstack/ansible-config_template
|
||||||
- https://opendev.org/openstack/ansible-role-python_venv_build
|
- https://opendev.org/openstack/ansible-role-python_venv_build
|
||||||
|
- https://opendev.org/openstack/tripleo-operator-ansible
|
||||||
zuul_changes: "{{ lookup('env', 'ZUUL_CHANGES') }}"
|
zuul_changes: "{{ lookup('env', 'ZUUL_CHANGES') }}"
|
||||||
subnode_swap_size: 8388608 # 8GB
|
subnode_swap_size: 8388608 # 8GB
|
||||||
update_subnodes: true
|
update_subnodes: true
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
- "ansible-role-python_venv_build"
|
- "ansible-role-python_venv_build"
|
||||||
- "openstack-ansible-os_tempest"
|
- "openstack-ansible-os_tempest"
|
||||||
- "tripleo-ha-utils"
|
- "tripleo-ha-utils"
|
||||||
|
- "tripleo-operator-ansible"
|
||||||
|
|
||||||
- name: Create /opt/cache/files directory
|
- name: Create /opt/cache/files directory
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -28,13 +28,39 @@
|
||||||
tags:
|
tags:
|
||||||
- undercloud-install
|
- undercloud-install
|
||||||
|
|
||||||
|
# NOTE(aschultz): this creates all the magical config related items, will
|
||||||
|
# want to extract the script part from configs
|
||||||
- include: create-scripts.yml
|
- include: create-scripts.yml
|
||||||
tags:
|
tags:
|
||||||
- undercloud-scripts
|
- undercloud-scripts
|
||||||
|
|
||||||
- include: install-undercloud.yml
|
- name: Run install via tripleo-operator-ansible
|
||||||
|
when:
|
||||||
|
- release in ['master']
|
||||||
|
- step_install_undercloud|bool
|
||||||
tags:
|
tags:
|
||||||
- undercloud-install
|
- undercloud-install
|
||||||
|
block:
|
||||||
|
- name: Run dstat on the undercloud prior to undercloud install
|
||||||
|
include_role:
|
||||||
|
name: validate-perf
|
||||||
|
|
||||||
|
- name: Install undercloud
|
||||||
|
collections:
|
||||||
|
- tripleo.operator
|
||||||
|
import_role:
|
||||||
|
name: tripleo-undercloud-install
|
||||||
|
vars:
|
||||||
|
tripleo_undercloud_install_debug: "{{ undercloud_undercloud_debug }}"
|
||||||
|
|
||||||
|
# TODO(mwhahaha): remove this after backwards compatibility support
|
||||||
|
- name: Run legacy install
|
||||||
|
when: release not in ['master']
|
||||||
|
tags:
|
||||||
|
- undercloud-install
|
||||||
|
block:
|
||||||
|
- include: install-undercloud.yml
|
||||||
|
|
||||||
|
|
||||||
# Ironic defaults to using `qemu:///system`. When running libvirtd
|
# Ironic defaults to using `qemu:///system`. When running libvirtd
|
||||||
# unprivileged we need to use `qemu:///session`. This allows us to pass
|
# unprivileged we need to use `qemu:///session`. This allows us to pass
|
||||||
|
|
Loading…
Reference in New Issue