Remove service-specific tags from service playbooks
This removes service-specific tags like 'nova' as they are confusing in their current state, and only appear useful if run using the setup-openstack playbook. The tags restrict which pre/post tasks run, but don't prevent the related roles from running. This causes issues such as: calling setup-openstack with a 'nova' tag would not run the 'haproxy-service-config' step, and running os-nova-install with a 'nova-config' tag wouldn't run HAProxy maintenance steps. Change-Id: I4dd6350cb8eb211814a1d6055e674065bf015f4c
This commit is contained in:
parent
f8d1d82a0a
commit
5f278ee02e
@ -21,8 +21,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "../defaults/{{ install_method }}_install.yml"
|
- "../defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- cinder
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
@ -37,6 +35,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'cinder_api' in group_names"
|
- "'cinder_api' in group_names"
|
||||||
- "groups['cinder_api'] | length > 1"
|
- "groups['cinder_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Determine storage bridge IP address
|
- name: Determine storage bridge IP address
|
||||||
include_tasks: ../common-tasks/dynamic-address-fact.yml
|
include_tasks: ../common-tasks/dynamic-address-fact.yml
|
||||||
@ -118,3 +118,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'cinder_api' in group_names"
|
- "'cinder_api' in group_names"
|
||||||
- "groups['cinder_api'] | length > 1"
|
- "groups['cinder_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "../defaults/{{ install_method }}_install.yml"
|
- "../defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- neutron
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
|
||||||
# In order to ensure that any container, software or
|
# In order to ensure that any container, software or
|
||||||
@ -37,6 +35,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'neutron_server' in group_names"
|
- "'neutron_server' in group_names"
|
||||||
- "groups['neutron_server'] | length > 1"
|
- "groups['neutron_server'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Determine tunnel bridge IP address
|
- name: Determine tunnel bridge IP address
|
||||||
include_tasks: ../common-tasks/dynamic-address-fact.yml
|
include_tasks: ../common-tasks/dynamic-address-fact.yml
|
||||||
@ -91,3 +91,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'neutron_server' in group_names"
|
- "'neutron_server' in group_names"
|
||||||
- "groups['neutron_server'] | length > 1"
|
- "groups['neutron_server'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- adjutant
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'adjutant_api' in group_names"
|
- "'adjutant_api' in group_names"
|
||||||
- "groups['adjutant_api'] | length > 1"
|
- "groups['adjutant_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including unbound-clients tasks
|
- name: Including unbound-clients tasks
|
||||||
include_tasks: common-tasks/unbound-clients.yml
|
include_tasks: common-tasks/unbound-clients.yml
|
||||||
@ -76,3 +76,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'adjutant_api' in group_names"
|
- "'adjutant_api' in group_names"
|
||||||
- "groups['adjutant_api'] | length > 1"
|
- "groups['adjutant_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- aodh
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'aodh_api' in group_names"
|
- "'aodh_api' in group_names"
|
||||||
- "groups['aodh_api'] | length > 1"
|
- "groups['aodh_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -81,3 +81,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'aodh_api' in group_names"
|
- "'aodh_api' in group_names"
|
||||||
- "groups['aodh_api'] | length > 1"
|
- "groups['aodh_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- barbican
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'barbican_api' in group_names"
|
- "'barbican_api' in group_names"
|
||||||
- "groups['barbican_api'] | length > 1"
|
- "groups['barbican_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -80,3 +80,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'barbican_api' in group_names"
|
- "'barbican_api' in group_names"
|
||||||
- "groups['barbican_api'] | length > 1"
|
- "groups['barbican_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
user: root
|
user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- blazar
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'blazar_api' in group_names"
|
- "'blazar_api' in group_names"
|
||||||
- "groups['blazar_api'] | length > 1"
|
- "groups['blazar_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -84,3 +84,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'blazar_api' in group_names"
|
- "'blazar_api' in group_names"
|
||||||
- "groups['blazar_api'] | length > 1"
|
- "groups['blazar_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -44,5 +44,3 @@
|
|||||||
- role: "os_ceilometer"
|
- role: "os_ceilometer"
|
||||||
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- ceilometer
|
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- cloudkitty
|
|
||||||
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
|
||||||
@ -56,6 +54,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'cloudkitty_api' in group_names"
|
- "'cloudkitty_api' in group_names"
|
||||||
- "groups['cloudkitty_api'] | length > 1"
|
- "groups['cloudkitty_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including unbound-clients tasks
|
- name: Including unbound-clients tasks
|
||||||
include_tasks: common-tasks/unbound-clients.yml
|
include_tasks: common-tasks/unbound-clients.yml
|
||||||
@ -77,3 +77,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'cloudkitty_api' in group_names"
|
- "'cloudkitty_api' in group_names"
|
||||||
- "groups['cloudkitty_api'] | length > 1"
|
- "groups['cloudkitty_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- designate
|
|
||||||
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
|
||||||
@ -58,6 +56,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'designate_api' in group_names"
|
- "'designate_api' in group_names"
|
||||||
- "groups['designate_api'] | length > 1"
|
- "groups['designate_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'designate_api' in group_names"
|
- "'designate_api' in group_names"
|
||||||
- "groups['designate_api'] | length > 1"
|
- "groups['designate_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- glance
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'glance_api' in group_names"
|
- "'glance_api' in group_names"
|
||||||
- "groups['glance_api'] | length > 1"
|
- "groups['glance_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Configure container (local storage bind mount from host)
|
- name: Configure container (local storage bind mount from host)
|
||||||
include_role:
|
include_role:
|
||||||
@ -96,3 +96,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'glance_api' in group_names"
|
- "'glance_api' in group_names"
|
||||||
- "groups['glance_api'] | length > 1"
|
- "groups['glance_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- gnocchi
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'gnocchi_all' in group_names"
|
- "'gnocchi_all' in group_names"
|
||||||
- "groups['gnocchi_all'] | length > 1"
|
- "groups['gnocchi_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -84,3 +84,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'gnocchi_all' in group_names"
|
- "'gnocchi_all' in group_names"
|
||||||
- "groups['gnocchi_all'] | length > 1"
|
- "groups['gnocchi_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -38,8 +38,6 @@
|
|||||||
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({}) }}"
|
||||||
tags:
|
|
||||||
- heat
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'heat_api' in group_names"
|
- "'heat_api' in group_names"
|
||||||
- "groups['heat_api'] | length > 1"
|
- "groups['heat_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'heat_api' in group_names"
|
- "'heat_api' in group_names"
|
||||||
- "groups['heat_api'] | length > 1"
|
- "groups['heat_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- horizon
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'horizon_all' in group_names"
|
- "'horizon_all' in group_names"
|
||||||
- "groups['horizon_all'] | length > 1"
|
- "groups['horizon_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -82,3 +82,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'horizon_all' in group_names"
|
- "'horizon_all' in group_names"
|
||||||
- "groups['horizon_all'] | length > 1"
|
- "groups['horizon_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- ironic
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'ironic_api' in group_names"
|
- "'ironic_api' in group_names"
|
||||||
- "groups['ironic_api'] | length > 1"
|
- "groups['ironic_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'ironic_api' in group_names"
|
- "'ironic_api' in group_names"
|
||||||
- "groups['ironic_api'] | length > 1"
|
- "groups['ironic_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
include_role:
|
include_role:
|
||||||
name: os_keystone
|
name: os_keystone
|
||||||
tasks_from: main_pre.yml
|
tasks_from: main_pre.yml
|
||||||
tags:
|
|
||||||
- keystone
|
|
||||||
|
|
||||||
- name: Configure haproxy services
|
- name: Configure haproxy services
|
||||||
import_playbook: openstack.osa.haproxy_service_config
|
import_playbook: openstack.osa.haproxy_service_config
|
||||||
@ -69,8 +67,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- keystone
|
|
||||||
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
|
||||||
@ -84,6 +80,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'keystone_all' in group_names"
|
- "'keystone_all' in group_names"
|
||||||
- "groups['keystone_all'] | length > 1"
|
- "groups['keystone_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Configure container
|
- name: Configure container
|
||||||
include_role:
|
include_role:
|
||||||
@ -116,6 +114,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'keystone_all' in group_names"
|
- "'keystone_all' in group_names"
|
||||||
- "groups['keystone_all'] | length > 1"
|
- "groups['keystone_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
# These facts are set against the deployment host to ensure that
|
# These facts are set against the deployment host to ensure that
|
||||||
# they are fast to access. This is done in preference to setting
|
# they are fast to access. This is done in preference to setting
|
||||||
@ -128,8 +128,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- keystone
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Refresh local facts
|
- name: Refresh local facts
|
||||||
setup:
|
setup:
|
||||||
@ -194,8 +192,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- keystone
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Post configure SP/IDP"
|
- name: "Post configure SP/IDP"
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- magnum
|
|
||||||
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
|
||||||
@ -58,6 +56,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'magnum_all' in group_names"
|
- "'magnum_all' in group_names"
|
||||||
- "groups['magnum_all'] | length > 1"
|
- "groups['magnum_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -84,3 +84,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'magnum_all' in group_names"
|
- "'magnum_all' in group_names"
|
||||||
- "groups['magnum_all'] | length > 1"
|
- "groups['magnum_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- manila
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Gather additional facts
|
- name: Gather additional facts
|
||||||
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
include_tasks: "common-tasks/gather-hardware-facts.yml"
|
||||||
@ -63,6 +61,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'manila_api' in group_names"
|
- "'manila_api' in group_names"
|
||||||
- "groups['manila_api'] | length > 1"
|
- "groups['manila_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including unbound-clients tasks
|
- name: Including unbound-clients tasks
|
||||||
include_tasks: common-tasks/unbound-clients.yml
|
include_tasks: common-tasks/unbound-clients.yml
|
||||||
@ -84,6 +84,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'manila_api' in group_names"
|
- "'manila_api' in group_names"
|
||||||
- "groups['manila_api'] | length > 1"
|
- "groups['manila_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Install manila data services
|
- name: Install manila data services
|
||||||
hosts: manila_data:manila_share
|
hosts: manila_data:manila_share
|
||||||
@ -92,8 +94,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- manila
|
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Including unbound-clients tasks
|
- name: Including unbound-clients tasks
|
||||||
|
@ -82,6 +82,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'masakari_api' in group_names"
|
- "'masakari_api' in group_names"
|
||||||
- "groups['masakari_api'] | length > 1"
|
- "groups['masakari_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -108,7 +110,7 @@
|
|||||||
when:
|
when:
|
||||||
- "'masakari_api' in group_names"
|
- "'masakari_api' in group_names"
|
||||||
- "groups['masakari_api'] | length > 1"
|
- "groups['masakari_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- masakari
|
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
user: root
|
user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- mistral
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'mistral_all' in group_names"
|
- "'mistral_all' in group_names"
|
||||||
- "groups['mistral_all'] | length > 1"
|
- "groups['mistral_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -84,3 +84,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'mistral_all' in group_names"
|
- "'mistral_all' in group_names"
|
||||||
- "groups['mistral_all'] | length > 1"
|
- "groups['mistral_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
- name: Configure Neutron dynamic host groupings
|
- name: Configure Neutron dynamic host groupings
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tags:
|
|
||||||
- neutron
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Importing dynamic-grouping tasks
|
- name: Importing dynamic-grouping tasks
|
||||||
import_tasks: common-tasks/dynamic-grouping.yml
|
import_tasks: common-tasks/dynamic-grouping.yml
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- nova
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
# 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
|
||||||
@ -88,6 +86,8 @@
|
|||||||
- "nova_api_metadata"
|
- "nova_api_metadata"
|
||||||
- "nova_api_os_compute"
|
- "nova_api_os_compute"
|
||||||
- "nova_console"
|
- "nova_console"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Configure container
|
- name: Configure container
|
||||||
include_role:
|
include_role:
|
||||||
@ -129,6 +129,8 @@
|
|||||||
- "nova_api_metadata"
|
- "nova_api_metadata"
|
||||||
- "nova_api_os_compute"
|
- "nova_api_os_compute"
|
||||||
- "nova_console"
|
- "nova_console"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
|
|
||||||
- name: Install nova compute services
|
- name: Install nova compute services
|
||||||
@ -139,8 +141,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- nova
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
# 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
|
||||||
@ -247,5 +247,3 @@
|
|||||||
import_role:
|
import_role:
|
||||||
name: os_nova
|
name: os_nova
|
||||||
tasks_from: nova_db_post_setup.yml
|
tasks_from: nova_db_post_setup.yml
|
||||||
tags:
|
|
||||||
- nova
|
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- octavia
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'octavia_all' in group_names"
|
- "'octavia_all' in group_names"
|
||||||
- "groups['octavia_all'] | length > 1"
|
- "groups['octavia_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'octavia_all' in group_names"
|
- "'octavia_all' in group_names"
|
||||||
- "groups['octavia_all'] | length > 1"
|
- "groups['octavia_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
user: root
|
user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- placement
|
|
||||||
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
|
||||||
@ -55,6 +53,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'placement_all' in group_names"
|
- "'placement_all' in group_names"
|
||||||
- "groups['placement_all'] | length > 1"
|
- "groups['placement_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'placement_all' in group_names"
|
- "'placement_all' in group_names"
|
||||||
- "groups['placement_all'] | length > 1"
|
- "groups['placement_all'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- rally
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: End playbook
|
- name: End playbook
|
||||||
meta: end_play
|
meta: end_play
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
user: root
|
user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- skyline
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -57,8 +57,6 @@
|
|||||||
swift_do_setup: True
|
swift_do_setup: True
|
||||||
swift_do_sync: True
|
swift_do_sync: True
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- swift
|
|
||||||
|
|
||||||
- name: Installation and setup of Swift
|
- name: Installation and setup of Swift
|
||||||
hosts: swift_all
|
hosts: swift_all
|
||||||
@ -69,5 +67,3 @@
|
|||||||
tags:
|
tags:
|
||||||
- crontab
|
- crontab
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- swift
|
|
||||||
|
@ -26,5 +26,3 @@
|
|||||||
swift_do_setup: False
|
swift_do_setup: False
|
||||||
swift_do_sync: True
|
swift_do_sync: True
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- swift
|
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- tacker
|
|
||||||
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
|
||||||
|
@ -42,5 +42,3 @@
|
|||||||
- crontab
|
- crontab
|
||||||
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- tempest
|
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- "defaults/{{ install_method }}_install.yml"
|
- "defaults/{{ install_method }}_install.yml"
|
||||||
tags:
|
|
||||||
- trove
|
|
||||||
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
|
||||||
@ -58,6 +56,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'trove_api' in group_names"
|
- "'trove_api' in group_names"
|
||||||
- "groups['trove_api'] | length > 1"
|
- "groups['trove_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -83,3 +83,5 @@
|
|||||||
when:
|
when:
|
||||||
- "'trove_api' in group_names"
|
- "'trove_api' in group_names"
|
||||||
- "groups['trove_api'] | length > 1"
|
- "groups['trove_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
@ -69,6 +69,8 @@
|
|||||||
when:
|
when:
|
||||||
- "'zun_api' in group_names"
|
- "'zun_api' in group_names"
|
||||||
- "groups['zun_api'] | length > 1"
|
- "groups['zun_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
- name: Including container-setup tasks
|
- name: Including container-setup tasks
|
||||||
include_role:
|
include_role:
|
||||||
@ -95,7 +97,7 @@
|
|||||||
when:
|
when:
|
||||||
- "'zun_api' in group_names"
|
- "'zun_api' in group_names"
|
||||||
- "groups['zun_api'] | length > 1"
|
- "groups['zun_api'] | length > 1"
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
|
||||||
- zun
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
Tags matching service names have been removed from os-<service>-install.yml
|
||||||
|
playbooks. For example 'nova', 'neutron', 'cinder' etc. These tags were
|
||||||
|
only useful in conjunction with setup-openstack.yml, but were found to have
|
||||||
|
unexpected behaviour, potentially causing important tasks to be skipped.
|
Loading…
x
Reference in New Issue
Block a user