Merge "Use openstack.osa.install_defaults role instead of vars_files"
This commit is contained in:
commit
bad7887f79
@ -27,9 +27,12 @@
|
|||||||
hosts: ceph-mon
|
hosts: ceph-mon
|
||||||
user: root
|
user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather additional facts for monitor_address_block
|
- name: Gather additional facts for monitor_address_block
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
@ -135,9 +138,12 @@
|
|||||||
hosts: ceph-osd
|
hosts: ceph-osd
|
||||||
user: root
|
user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather memory facts
|
- name: Gather memory facts
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
@ -192,9 +198,13 @@
|
|||||||
hosts: ceph-mds
|
hosts: ceph-mds
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather memory facts
|
- name: Gather memory facts
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
vars:
|
vars:
|
||||||
|
@ -23,9 +23,13 @@
|
|||||||
hosts: ceph-nfs
|
hosts: ceph-nfs
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather ceph-mon facts
|
- name: Gather ceph-mon facts
|
||||||
action: setup
|
action: setup
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ item }}"
|
||||||
|
@ -27,9 +27,12 @@
|
|||||||
hosts: ceph-rgw
|
hosts: ceph-rgw
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Importing ceph-server tasks
|
- name: Importing ceph-server tasks
|
||||||
import_tasks: common-tasks/ceph-server.yml
|
import_tasks: common-tasks/ceph-server.yml
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
- name: Configure keystone for radosgw
|
- name: Configure keystone for radosgw
|
||||||
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method | default('source') }}_install.yml"
|
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: >-
|
ansible_python_interpreter: >-
|
||||||
{{ openstack_service_setup_host_python_interpreter |
|
{{ openstack_service_setup_host_python_interpreter |
|
||||||
@ -28,6 +26,11 @@
|
|||||||
- ceph-rgw-setup
|
- ceph-rgw-setup
|
||||||
- rgw-service-add
|
- rgw-service-add
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
import_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method | default('source') }}"
|
||||||
|
|
||||||
- name: Add service to the keystone service catalog
|
- name: Add service to the keystone service catalog
|
||||||
openstack.cloud.catalog_service:
|
openstack.cloud.catalog_service:
|
||||||
cloud: default
|
cloud: default
|
||||||
|
@ -19,9 +19,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "../defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
|
@ -19,9 +19,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "../defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
|
@ -16,9 +16,13 @@
|
|||||||
- name: Set lxc containers group
|
- name: Set lxc containers group
|
||||||
hosts: "{{ container_group | default('all_containers') }}"
|
hosts: "{{ container_group | default('all_containers') }}"
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Add hosts to dynamic inventory group
|
- name: Add hosts to dynamic inventory group
|
||||||
group_by:
|
group_by:
|
||||||
key: lxc_containers
|
key: lxc_containers
|
||||||
@ -39,11 +43,15 @@
|
|||||||
hosts: all_lxc_containers
|
hosts: all_lxc_containers
|
||||||
user: root
|
user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- lxc-containers-create
|
- lxc-containers-create
|
||||||
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
roles:
|
roles:
|
||||||
- role: "lxc_container_create"
|
- role: "lxc_container_create"
|
||||||
post_tasks:
|
post_tasks:
|
||||||
@ -67,11 +75,15 @@
|
|||||||
hosts: all_lxc_containers
|
hosts: all_lxc_containers
|
||||||
user: root
|
user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- lxc-containers-create
|
- lxc-containers-create
|
||||||
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_hosts"
|
- role: "openstack_hosts"
|
||||||
is_container: true
|
is_container: true
|
||||||
|
@ -24,12 +24,16 @@
|
|||||||
user: root
|
user: root
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ lxc_hosts_serial | default(['100%']) }}"
|
serial: "{{ lxc_hosts_serial | default(['100%']) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- lxc-hosts
|
- lxc-hosts
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Check the state of the default LXC service log directory
|
- name: Check the state of the default LXC service log directory
|
||||||
stat:
|
stat:
|
||||||
path: "/var/log/lxc"
|
path: "/var/log/lxc"
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
---
|
|
||||||
# Copyright 2018, SUSE LINUX GmbH.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
#
|
|
||||||
# Use $role_install_method=distro so we can test the combined
|
|
||||||
# result. We add all the os_* roles here even though some of them
|
|
||||||
# may not have been converted to support the dual installation method.
|
|
||||||
#
|
|
||||||
# NOTE(hwoarang): We need to define the various $role_bin variables because
|
|
||||||
# some playbooks in this repository are explicitly using them to perform
|
|
||||||
# post deployment actions such as the playbooks/os-{cinder,keystone,nova}-install.yml
|
|
||||||
# playbooks.
|
|
||||||
#
|
|
||||||
|
|
||||||
keystone_bin: /usr/bin
|
|
||||||
cinder_bin: /usr/bin
|
|
||||||
nova_bin: /usr/bin
|
|
||||||
neutron_bin: /usr/bin
|
|
||||||
|
|
||||||
## Delegate all database setup tasks to the utility host, and use the utility venv python interpreter
|
|
||||||
openstack_db_setup_host: "{{ groups['utility_all'][0] }}"
|
|
||||||
openstack_db_setup_python_interpreter: "{{ ansible_facts['python']['executable'] }}"
|
|
||||||
|
|
||||||
openstack_service_setup_host: "{{ groups['utility_all'][0] }}"
|
|
||||||
openstack_service_setup_host_python_interpreter: "/usr/bin/python3"
|
|
@ -1,38 +0,0 @@
|
|||||||
---
|
|
||||||
# Copyright 2018, SUSE LINUX GmbH.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
cinder_bin: "/openstack/venvs/cinder-{{ venv_tag }}/bin"
|
|
||||||
keystone_bin: "/openstack/venvs/keystone-{{ venv_tag }}/bin"
|
|
||||||
nova_bin: "/openstack/venvs/nova-{{ venv_tag }}/bin"
|
|
||||||
neutron_bin: "/openstack/venvs/neutron-{{ venv_tag }}/bin"
|
|
||||||
|
|
||||||
# URL for the frozen internal openstack repo.
|
|
||||||
repo_release_path: "{{ openstack_repo_url }}/os-releases/{{ openstack_release }}/{{ os_distro_version }}"
|
|
||||||
|
|
||||||
## OpenStack source options
|
|
||||||
openstack_repo_protocol: "{{ openstack_service_internaluri_proto }}"
|
|
||||||
openstack_repo_url: "{{ openstack_repo_protocol }}://{{ internal_lb_vip_address }}:{{ repo_server_port }}"
|
|
||||||
openstack_repo_git_url: "git://{{ internal_lb_vip_address }}"
|
|
||||||
|
|
||||||
## Delegate all service setup tasks to the utility host, and use the utility venv python interpreter
|
|
||||||
openstack_service_setup_host: "{{ groups['utility_all'][0] }}"
|
|
||||||
openstack_service_setup_host_python_interpreter: "/openstack/venvs/utility-{{ openstack_release }}/bin/python"
|
|
||||||
|
|
||||||
## Delegate all database setup tasks to the utility host, and use the utility venv python interpreter
|
|
||||||
openstack_db_setup_host: "{{ openstack_service_setup_host }}"
|
|
||||||
openstack_db_setup_python_interpreter: "{{ openstack_service_setup_host_python_interpreter }}"
|
|
||||||
|
|
||||||
# Locally cached copy on the repo server for the OpenStack upper-constraints.txt
|
|
||||||
requirements_git_url: "{{ openstack_repo_url }}/constraints/upper_constraints_cached.txt"
|
|
@ -25,9 +25,13 @@
|
|||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
vars:
|
vars:
|
||||||
repo_requirements_file: "constraints/upper_constraints_cached.txt"
|
repo_requirements_file: "constraints/upper_constraints_cached.txt"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Check the repo sync file on each repo server
|
- name: Check the repo sync file on each repo server
|
||||||
uri:
|
uri:
|
||||||
url: "{{ openstack_repo_protocol }}://{{ hostvars[item]['management_address'] }}:{{ repo_server_port }}/{{ repo_requirements_file }}"
|
url: "{{ openstack_repo_protocol }}://{{ hostvars[item]['management_address'] }}:{{ repo_server_port }}/{{ repo_requirements_file }}"
|
||||||
@ -86,9 +90,15 @@
|
|||||||
serial:
|
serial:
|
||||||
- 3
|
- 3
|
||||||
- 100%
|
- 100%
|
||||||
vars_files:
|
|
||||||
- defaults/source_install.yml
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
vars:
|
||||||
|
install_method: 'source'
|
||||||
|
|
||||||
# Repo release path points to the internal LB vip
|
# Repo release path points to the internal LB vip
|
||||||
- name: Check the presence of upper constraints on your repos and check load balancing
|
- name: Check the presence of upper constraints on your repos and check load balancing
|
||||||
uri:
|
uri:
|
||||||
@ -101,10 +111,13 @@
|
|||||||
- name: Ensure the service setup host is ready to run openstack calls
|
- name: Ensure the service setup host is ready to run openstack calls
|
||||||
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method | default('source') }}_install.yml"
|
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default(ansible_facts['python']['executable']) }}"
|
ansible_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default(ansible_facts['python']['executable']) }}"
|
||||||
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
import_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method | default('source') }}"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Get openstack client config
|
- name: Get openstack client config
|
||||||
openstack.cloud.config:
|
openstack.cloud.config:
|
||||||
@ -328,9 +341,12 @@
|
|||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
venv_path: /tmp/rabbitmqtest
|
venv_path: /tmp/rabbitmqtest
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
- name: Generate venv for rabbitmq testing
|
- name: Generate venv for rabbitmq testing
|
||||||
include_role:
|
include_role:
|
||||||
name: "python_venv_build"
|
name: "python_venv_build"
|
||||||
|
@ -50,6 +50,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Check for a supported Operating System
|
- name: Check for a supported Operating System
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
@ -61,8 +67,6 @@
|
|||||||
Ubuntu 22.04 (Jammy), CentOS 9 Stream, and Rocky Linux 9.
|
Ubuntu 22.04 (Jammy), CentOS 9 Stream, and Rocky Linux 9.
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_hosts"
|
- role: "openstack_hosts"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Ensure deploy host SSH connection is reset
|
- name: Ensure deploy host SSH connection is reset
|
||||||
meta: reset_connection
|
meta: reset_connection
|
||||||
|
@ -15,9 +15,13 @@
|
|||||||
|
|
||||||
- name: Create requested OpenStack Resources
|
- name: Create requested OpenStack Resources
|
||||||
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method | default('source') }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Include openstack_resources role
|
- name: Include openstack_resources role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: openstack.osa.openstack_resources
|
name: openstack.osa.openstack_resources
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ adjutant_api_serial | default(['1','100%']) }}"
|
serial: "{{ adjutant_api_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,13 +38,17 @@
|
|||||||
serial: "{{ aodh_serial | default(['1','100%']) }}"
|
serial: "{{ aodh_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
# the load balancer back end for this container.
|
# the load balancer back end for this container.
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Disabling haproxy backends
|
- name: Disabling haproxy backends
|
||||||
include_tasks: common-tasks/haproxy-endpoint-manage.yml
|
include_tasks: common-tasks/haproxy-endpoint-manage.yml
|
||||||
vars:
|
vars:
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ barbican_serial | default(['1','100%']) }}"
|
serial: "{{ barbican_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ blazar_serial | default(['1','100%']) }}"
|
serial: "{{ blazar_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -28,9 +28,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ ceilometer_serial | default(['1','100%']) }}"
|
serial: "{{ ceilometer_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
||||||
|
@ -39,9 +39,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -41,9 +41,12 @@
|
|||||||
serial: "{{ designate_serial | default(['1','100%']) }}"
|
serial: "{{ designate_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ gnocchi_serial | default(['1','100%']) }}"
|
serial: "{{ gnocchi_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ heat_serial | default(['1','100%']) }}"
|
serial: "{{ heat_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ horizon_serial | default(['1','100%']) }}"
|
serial: "{{ horizon_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,12 @@
|
|||||||
serial: "{{ ironic_serial | default(['1','100%']) }}"
|
serial: "{{ ironic_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -22,11 +22,15 @@
|
|||||||
- name: Implement openrc/clouds.yaml on the designated service host
|
- name: Implement openrc/clouds.yaml on the designated service host
|
||||||
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
hosts: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||||
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method | default('source') }}_install.yml"
|
|
||||||
become: yes
|
become: yes
|
||||||
tags:
|
tags:
|
||||||
- openrc
|
- openrc
|
||||||
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
roles:
|
roles:
|
||||||
- role: "openstack_openrc"
|
- role: "openstack_openrc"
|
||||||
|
|
||||||
@ -65,9 +69,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
@ -126,9 +134,13 @@
|
|||||||
gather_facts: no
|
gather_facts: no
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Refresh local facts
|
- name: Refresh local facts
|
||||||
setup:
|
setup:
|
||||||
filter: ansible_local
|
filter: ansible_local
|
||||||
@ -190,9 +202,13 @@
|
|||||||
gather_facts: no
|
gather_facts: no
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: "Post configure SP/IDP"
|
- name: "Post configure SP/IDP"
|
||||||
include_role:
|
include_role:
|
||||||
name: os_keystone
|
name: os_keystone
|
||||||
|
@ -41,9 +41,12 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ magnum_serial | default(['1','100%']) }}"
|
serial: "{{ magnum_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -37,9 +37,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather additional facts
|
- name: Gather additional facts
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
args:
|
args:
|
||||||
@ -92,10 +96,14 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Including unbound-clients tasks
|
- name: Including unbound-clients tasks
|
||||||
include_tasks: common-tasks/unbound-clients.yml
|
include_tasks: common-tasks/unbound-clients.yml
|
||||||
when:
|
when:
|
||||||
|
@ -58,9 +58,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ masakari_api_serial | default(['1','100%']) }}"
|
serial: "{{ masakari_api_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Gather additional facts
|
- name: Gather additional facts
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
args:
|
args:
|
||||||
|
@ -38,9 +38,13 @@
|
|||||||
serial: "{{ mistral_serial | default(['1','100%']) }}"
|
serial: "{{ mistral_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -51,9 +51,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# Enable execution of ceph_client on the nova compute hosts if cinder RBD
|
# Enable execution of ceph_client on the nova compute hosts if cinder RBD
|
||||||
# backends are used. This is necessary to ensure that volume-backed Nova
|
# backends are used. This is necessary to ensure that volume-backed Nova
|
||||||
# instances can function when RBD is the volume backend.
|
# instances can function when RBD is the volume backend.
|
||||||
@ -139,9 +143,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# Enable execution of ceph_client on the nova compute hosts if cinder RBD
|
# Enable execution of ceph_client on the nova compute hosts if cinder RBD
|
||||||
# backends are used. This is necessary to ensure that volume-backed Nova
|
# backends are used. This is necessary to ensure that volume-backed Nova
|
||||||
# instances can function when RBD is the volume backend.
|
# instances can function when RBD is the volume backend.
|
||||||
@ -240,9 +248,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Running db_post_setup tasks from the role
|
- name: Running db_post_setup tasks from the role
|
||||||
import_role:
|
import_role:
|
||||||
name: os_nova
|
name: os_nova
|
||||||
|
@ -38,9 +38,13 @@
|
|||||||
serial: "{{ octavia_serial | default(['1','100%']) }}"
|
serial: "{{ octavia_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -38,9 +38,13 @@
|
|||||||
serial: "{{ placement_api_serial | default(['1','100%']) }}"
|
serial: "{{ placement_api_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -24,9 +24,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: End playbook
|
- name: End playbook
|
||||||
meta: end_play
|
meta: end_play
|
||||||
when:
|
when:
|
||||||
|
@ -38,9 +38,13 @@
|
|||||||
serial: "{{ skyline_api_serial | default(['1','100%']) }}"
|
serial: "{{ skyline_api_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
||||||
|
@ -36,9 +36,13 @@
|
|||||||
hosts: swift_all:swift_remote_all
|
hosts: swift_all:swift_remote_all
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
||||||
|
@ -19,8 +19,12 @@
|
|||||||
hosts: swift_all:swift_remote_all
|
hosts: swift_all:swift_remote_all
|
||||||
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
gather_facts: "{{ osa_gather_facts | default(True) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
pre_tasks:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
roles:
|
roles:
|
||||||
- role: "os_swift"
|
- role: "os_swift"
|
||||||
swift_do_setup: False
|
swift_do_setup: False
|
||||||
|
@ -38,9 +38,13 @@
|
|||||||
serial: "{{ tacker_serial | default(['1','100%']) }}"
|
serial: "{{ tacker_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -27,9 +27,13 @@
|
|||||||
hosts: utility_all[0]
|
hosts: utility_all[0]
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: End playbook
|
- name: End playbook
|
||||||
meta: end_play
|
meta: end_play
|
||||||
when:
|
when:
|
||||||
|
@ -41,9 +41,13 @@
|
|||||||
serial: "{{ trove_serial | default(['1','100%']) }}"
|
serial: "{{ trove_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -54,9 +54,13 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ zun_serial | default(['1','100%']) }}"
|
serial: "{{ zun_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
# config file changes which causes a container/service
|
# config file changes which causes a container/service
|
||||||
# restart do not cause an unexpected outage, we drain
|
# restart do not cause an unexpected outage, we drain
|
||||||
|
@ -72,10 +72,14 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ repo_serial | default(['1','100%']) }}"
|
serial: "{{ repo_serial | default(['1','100%']) }}"
|
||||||
user: root
|
user: root
|
||||||
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
roles:
|
roles:
|
||||||
- role: "repo_server"
|
- role: "repo_server"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- repo-server
|
- repo-server
|
||||||
|
@ -25,8 +25,6 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
serial: "{{ utility_serial | default(['1','100%']) }}"
|
serial: "{{ utility_serial | default(['1','100%']) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
|
||||||
vars:
|
vars:
|
||||||
utility_upper_constraints_url: "{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~
|
utility_upper_constraints_url: "{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~
|
||||||
requirements_git_install_branch | default('master')) }}"
|
requirements_git_install_branch | default('master')) }}"
|
||||||
@ -48,6 +46,12 @@
|
|||||||
listen:
|
listen:
|
||||||
- "venv changed"
|
- "venv changed"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Setup installation variables
|
||||||
|
include_role:
|
||||||
|
name: openstack.osa.install_defaults
|
||||||
|
defaults_from: "{{ install_method }}"
|
||||||
|
public: true
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
name: "openstack.osa.{{ container_tech | default('lxc') }}_container_setup"
|
||||||
|
Loading…
Reference in New Issue
Block a user