Fix var-spacing
ansible-lint introduced var-spacing - let's fix our code. Change-Id: I0d8aaf3c522a5a6a5495032f6dbed8a2be0251f0
This commit is contained in:
parent
0f2c56ca54
commit
dcf5a8b65f
@ -554,8 +554,8 @@ supported_policy_format_list:
|
|||||||
multiple_regions_names:
|
multiple_regions_names:
|
||||||
- "{{ openstack_region_name }}"
|
- "{{ openstack_region_name }}"
|
||||||
|
|
||||||
openstack_service_workers: "{{ [ansible_facts.processor_vcpus, 5]|min }}"
|
openstack_service_workers: "{{ [ansible_facts.processor_vcpus, 5] | min }}"
|
||||||
openstack_service_rpc_workers: "{{ [ansible_facts.processor_vcpus, 3]|min }}"
|
openstack_service_rpc_workers: "{{ [ansible_facts.processor_vcpus, 3] | min }}"
|
||||||
|
|
||||||
# Optionally allow Kolla to set sysctl values
|
# Optionally allow Kolla to set sysctl values
|
||||||
set_sysctl: "yes"
|
set_sysctl: "yes"
|
||||||
@ -902,7 +902,7 @@ glance_file_datadir_volume: "glance"
|
|||||||
glance_enable_rolling_upgrade: "no"
|
glance_enable_rolling_upgrade: "no"
|
||||||
glance_enable_property_protection: "no"
|
glance_enable_property_protection: "no"
|
||||||
glance_enable_interoperable_image_import: "no"
|
glance_enable_interoperable_image_import: "no"
|
||||||
glance_api_hosts: "{{ [groups['glance-api']|first] if glance_backend_file | bool and glance_file_datadir_volume == 'glance' else groups['glance-api'] }}"
|
glance_api_hosts: "{{ [groups['glance-api'] | first] if glance_backend_file | bool and glance_file_datadir_volume == 'glance' else groups['glance-api'] }}"
|
||||||
# NOTE(mnasiadka): For use in common role
|
# NOTE(mnasiadka): For use in common role
|
||||||
glance_enable_tls_backend: "{{ kolla_enable_tls_backend }}"
|
glance_enable_tls_backend: "{{ kolla_enable_tls_backend }}"
|
||||||
|
|
||||||
@ -938,7 +938,7 @@ cinder_backend_vmware_vstorage_object: "no"
|
|||||||
cinder_volume_group: "cinder-volumes"
|
cinder_volume_group: "cinder-volumes"
|
||||||
cinder_target_helper: "{{ 'lioadm' if ansible_facts.os_family == 'RedHat' else 'tgtadm' }}"
|
cinder_target_helper: "{{ 'lioadm' if ansible_facts.os_family == 'RedHat' else 'tgtadm' }}"
|
||||||
# Valid options are [ '', redis, etcd ]
|
# Valid options are [ '', redis, etcd ]
|
||||||
cinder_coordination_backend: "{{ 'redis' if enable_redis|bool else 'etcd' if enable_etcd|bool else '' }}"
|
cinder_coordination_backend: "{{ 'redis' if enable_redis | bool else 'etcd' if enable_etcd | bool else '' }}"
|
||||||
|
|
||||||
# Valid options are [ nfs, swift, ceph ]
|
# Valid options are [ nfs, swift, ceph ]
|
||||||
cinder_backup_driver: "ceph"
|
cinder_backup_driver: "ceph"
|
||||||
@ -965,7 +965,7 @@ designate_ns_record:
|
|||||||
designate_backend_external: "no"
|
designate_backend_external: "no"
|
||||||
designate_backend_external_bind9_nameservers: ""
|
designate_backend_external_bind9_nameservers: ""
|
||||||
# Valid options are [ '', redis ]
|
# Valid options are [ '', redis ]
|
||||||
designate_coordination_backend: "{{ 'redis' if enable_redis|bool else '' }}"
|
designate_coordination_backend: "{{ 'redis' if enable_redis | bool else '' }}"
|
||||||
|
|
||||||
designate_internal_endpoint: "{{ internal_protocol }}://{{ designate_internal_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}"
|
designate_internal_endpoint: "{{ internal_protocol }}://{{ designate_internal_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}"
|
||||||
designate_public_endpoint: "{{ public_protocol }}://{{ designate_external_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}"
|
designate_public_endpoint: "{{ public_protocol }}://{{ designate_external_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}"
|
||||||
@ -1194,7 +1194,7 @@ ironic_internal_endpoint: "{{ internal_protocol }}://{{ ironic_internal_fqdn | p
|
|||||||
ironic_public_endpoint: "{{ public_protocol }}://{{ ironic_external_fqdn | put_address_in_context('url') }}:{{ ironic_api_port }}"
|
ironic_public_endpoint: "{{ public_protocol }}://{{ ironic_external_fqdn | put_address_in_context('url') }}:{{ ironic_api_port }}"
|
||||||
|
|
||||||
# Valid options are [ '', redis, etcd ]
|
# Valid options are [ '', redis, etcd ]
|
||||||
ironic_coordination_backend: "{{ 'redis' if enable_redis|bool else 'etcd' if enable_etcd|bool else '' }}"
|
ironic_coordination_backend: "{{ 'redis' if enable_redis | bool else 'etcd' if enable_etcd | bool else '' }}"
|
||||||
|
|
||||||
########
|
########
|
||||||
# Swift
|
# Swift
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -57,7 +57,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_aodh"
|
name: "bootstrap_aodh"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ aodh_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ aodh_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[aodh_api.group][0] }}"
|
delegate_to: "{{ groups[aodh_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -74,7 +74,7 @@ barbican_api_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|||||||
barbican_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
barbican_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
||||||
barbican_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
barbican_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
||||||
barbican_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
barbican_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
||||||
barbican_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if barbican_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port}}"]
|
barbican_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if barbican_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port }}"]
|
||||||
barbican_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
barbican_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
||||||
barbican_api_healthcheck:
|
barbican_api_healthcheck:
|
||||||
interval: "{{ barbican_api_healthcheck_interval }}"
|
interval: "{{ barbican_api_healthcheck_interval }}"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_barbican"
|
name: "bootstrap_barbican"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ barbican_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ barbican_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[barbican_api.group][0] }}"
|
delegate_to: "{{ groups[barbican_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_blazar"
|
name: "bootstrap_blazar"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ blazar_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ blazar_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[blazar_api.group][0] }}"
|
delegate_to: "{{ groups[blazar_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -42,7 +42,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -17,6 +17,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_ceilometer"
|
name: "bootstrap_ceilometer"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ ceilometer_notification.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ ceilometer_notification.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[ceilometer_notification.group][0] }}"
|
delegate_to: "{{ groups[ceilometer_notification.group][0] }}"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged | default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes | reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -12,5 +12,5 @@ sinks:
|
|||||||
- gnocchi://
|
- gnocchi://
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if enable_ceilometer_prometheus_pushgateway | bool %}
|
{% if enable_ceilometer_prometheus_pushgateway | bool %}
|
||||||
- prometheus://{{ ceilometer_prometheus_pushgateway_host }}:{{ ceilometer_prometheus_pushgateway_port }}/metrics/job/openstack-telemetry{% if ceilometer_prometheus_pushgateway_options %}/?{{ (ceilometer_prometheus_pushgateway_options|dict2items|rejectattr("value", "equalto", None)|list|items2dict).items() | map("join", "=") | join("&")}}{% endif %}
|
- prometheus://{{ ceilometer_prometheus_pushgateway_host }}:{{ ceilometer_prometheus_pushgateway_port }}/metrics/job/openstack-telemetry{% if ceilometer_prometheus_pushgateway_options %}/?{{ (ceilometer_prometheus_pushgateway_options | dict2items | rejectattr("value", "equalto", None) | list | items2dict).items() | map("join", "=") | join("&")}}{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -89,7 +89,7 @@ cinder_api_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|||||||
cinder_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
cinder_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
||||||
cinder_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
cinder_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
||||||
cinder_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
cinder_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
||||||
cinder_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if cinder_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ cinder_api_listen_port}}"]
|
cinder_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if cinder_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ cinder_api_listen_port }}"]
|
||||||
cinder_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
cinder_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
||||||
cinder_api_healthcheck:
|
cinder_api_healthcheck:
|
||||||
interval: "{{ cinder_api_healthcheck_interval }}"
|
interval: "{{ cinder_api_healthcheck_interval }}"
|
||||||
@ -233,7 +233,7 @@ cinder_backends:
|
|||||||
|
|
||||||
skip_cinder_backend_check: False
|
skip_cinder_backend_check: False
|
||||||
|
|
||||||
cinder_enabled_backends: "{{ cinder_backends|selectattr('enabled', 'equalto', true)|list }}"
|
cinder_enabled_backends: "{{ cinder_backends | selectattr('enabled', 'equalto', true) | list }}"
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Notification
|
# Notification
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_cinder"
|
name: "bootstrap_cinder"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ cinder_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ cinder_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[cinder_api.group][0] }}"
|
delegate_to: "{{ groups[cinder_api.group][0] }}"
|
||||||
|
@ -70,7 +70,7 @@ cloudkitty_api_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|||||||
cloudkitty_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
cloudkitty_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
||||||
cloudkitty_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
cloudkitty_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
||||||
cloudkitty_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
cloudkitty_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
||||||
cloudkitty_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl http://{{ api_interface_address | put_address_in_context('url') }}:{{ cloudkitty_api_port}}"]
|
cloudkitty_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl http://{{ api_interface_address | put_address_in_context('url') }}:{{ cloudkitty_api_port }}"]
|
||||||
cloudkitty_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
cloudkitty_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
||||||
cloudkitty_api_healthcheck:
|
cloudkitty_api_healthcheck:
|
||||||
interval: "{{ cloudkitty_api_healthcheck_interval }}"
|
interval: "{{ cloudkitty_api_healthcheck_interval }}"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_cloudkitty"
|
name: "bootstrap_cloudkitty"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ cloudkitty_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ cloudkitty_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[cloudkitty_api.group][0] }}"
|
delegate_to: "{{ groups[cloudkitty_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -57,7 +57,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -73,7 +73,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -89,7 +89,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -105,7 +105,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_designate"
|
name: "bootstrap_designate"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ designate_central.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ designate_central.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[designate_central.group][0] }}"
|
delegate_to: "{{ groups[designate_central.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -62,7 +62,7 @@ elasticsearch_curator_dry_run: false
|
|||||||
|
|
||||||
# Index prefix pattern. Any indices matching this regex will
|
# Index prefix pattern. Any indices matching this regex will
|
||||||
# be managed by Curator.
|
# be managed by Curator.
|
||||||
elasticsearch_curator_index_pattern: "^{{ '(monasca|' + kibana_log_prefix + ')' if enable_monasca|bool else kibana_log_prefix }}-.*"
|
elasticsearch_curator_index_pattern: "^{{ '(monasca|' + kibana_log_prefix + ')' if enable_monasca|bool else kibana_log_prefix }}-.*" # noqa var-spacing
|
||||||
|
|
||||||
# Duration after which an index is staged for deletion. This is
|
# Duration after which an index is staged for deletion. This is
|
||||||
# implemented by closing the index. Whilst in this state the index
|
# implemented by closing the index. Whilst in this state the index
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
environment: "{{ item.value.environment|default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[item.value.group]
|
||||||
- item.value.enabled | bool
|
- item.value.enabled | bool
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes | reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
@ -199,7 +199,7 @@ glance_backends:
|
|||||||
type: swift
|
type: swift
|
||||||
enabled: "{{ glance_backend_swift | bool }}"
|
enabled: "{{ glance_backend_swift | bool }}"
|
||||||
|
|
||||||
glance_store_backends: "{{ glance_backends|selectattr('enabled', 'equalto', true)|list }}"
|
glance_store_backends: "{{ glance_backends | selectattr('enabled', 'equalto', true) | list }}"
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# OpenStack
|
# OpenStack
|
||||||
@ -245,7 +245,7 @@ glance_tls_proxy_http_request_timeout: "10s"
|
|||||||
glance_tls_proxy_http_keep_alive_timeout: "10s"
|
glance_tls_proxy_http_keep_alive_timeout: "10s"
|
||||||
glance_tls_proxy_queue_timeout: "1m"
|
glance_tls_proxy_queue_timeout: "1m"
|
||||||
glance_tls_proxy_connect_timeout: "10s"
|
glance_tls_proxy_connect_timeout: "10s"
|
||||||
glance_tls_proxy_client_timeout: "{{ haproxy_glance_api_client_timeout}}"
|
glance_tls_proxy_client_timeout: "{{ haproxy_glance_api_client_timeout }}"
|
||||||
glance_tls_proxy_server_timeout: "{{ haproxy_glance_api_server_timeout }}"
|
glance_tls_proxy_server_timeout: "{{ haproxy_glance_api_server_timeout }}"
|
||||||
glance_tls_proxy_check_timeout: "10s"
|
glance_tls_proxy_check_timeout: "10s"
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged }}"
|
privileged: "{{ service.privileged }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -27,7 +27,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_glance"
|
name: "bootstrap_glance"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ glance_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ glance_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ glance_api_hosts[0] }}"
|
delegate_to: "{{ glance_api_hosts[0] }}"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged | default(omit) }}"
|
privileged: "{{ item.value.privileged | default(omit) }}"
|
||||||
environment: "{{ item.value.environment | default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
name: "{{ glance_services.values()|map(attribute='container_name')|list }}"
|
name: "{{ glance_services.values() | map(attribute='container_name') | list }}"
|
||||||
register: container_facts
|
register: container_facts
|
||||||
|
|
||||||
- name: Checking free port for Glance API
|
- name: Checking free port for Glance API
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_glance"
|
name: "bootstrap_glance"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ glance_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ glance_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ glance_api_hosts[0] }}"
|
delegate_to: "{{ glance_api_hosts[0] }}"
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_glance"
|
name: "bootstrap_glance"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ glance_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ glance_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ glance_api_hosts[0] }}"
|
delegate_to: "{{ glance_api_hosts[0] }}"
|
||||||
notify:
|
notify:
|
||||||
@ -96,7 +96,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_glance"
|
name: "bootstrap_glance"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ glance_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ glance_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ glance_api_hosts[0] }}"
|
delegate_to: "{{ glance_api_hosts[0] }}"
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
- inventory_hostname == groups[service.group]|first
|
- inventory_hostname == groups[service.group] | first
|
||||||
|
|
||||||
- name: Waiting for grafana to start on first node
|
- name: Waiting for grafana to start on first node
|
||||||
listen: Restart grafana container
|
listen: Restart grafana container
|
||||||
@ -33,7 +33,7 @@
|
|||||||
delay: "{{ grafana_start_first_node_delay }}"
|
delay: "{{ grafana_start_first_node_delay }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
- inventory_hostname == groups[service.group]|first
|
- inventory_hostname == groups[service.group] | first
|
||||||
|
|
||||||
- name: Restart remaining grafana containers
|
- name: Restart remaining grafana containers
|
||||||
listen: Restart grafana container
|
listen: Restart grafana container
|
||||||
@ -50,4 +50,4 @@
|
|||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
- inventory_hostname != groups[service.group]|first
|
- inventory_hostname != groups[service.group] | first
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
changed_when: response.status == 200
|
changed_when: response.status == 200
|
||||||
failed_when: response.status not in [200, 409] or
|
failed_when: response.status not in [200, 409] or
|
||||||
response.status == 409 and ("name already exists" not in response.json.message|default(""))
|
response.status == 409 and ("name already exists" not in response.json.message | default(""))
|
||||||
with_dict: "{{ grafana_data_sources }}"
|
with_dict: "{{ grafana_data_sources }}"
|
||||||
when: item.value.enabled | bool
|
when: item.value.enabled | bool
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname != groups['grafana']|first
|
- inventory_hostname != groups['grafana'] | first
|
||||||
- grafana_differs['result']
|
- grafana_differs['result']
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
cap_add: "{{ service.cap_add }}"
|
cap_add: "{{ service.cap_add }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
@ -27,7 +27,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
@ -43,7 +43,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -25,6 +25,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_heat"
|
name: "bootstrap_heat"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ heat_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ heat_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[heat_api.group][0] }}"
|
delegate_to: "{{ groups[heat_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -37,7 +37,7 @@ horizon_services:
|
|||||||
enabled: "{{ enable_horizon }}"
|
enabled: "{{ enable_horizon }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: false
|
external: false
|
||||||
port: "{% if kolla_enable_tls_internal|bool %}{{ horizon_tls_port }}{% else %}{{ horizon_port }}{% endif %}"
|
port: "{% if kolla_enable_tls_internal | bool %}{{ horizon_tls_port }}{% else %}{{ horizon_port }}{% endif %}"
|
||||||
listen_port: "{{ horizon_listen_port }}"
|
listen_port: "{{ horizon_listen_port }}"
|
||||||
frontend_http_extra:
|
frontend_http_extra:
|
||||||
- "use_backend acme_client_back if { path_reg ^/.well-known/acme-challenge/.+ }"
|
- "use_backend acme_client_back if { path_reg ^/.well-known/acme-challenge/.+ }"
|
||||||
@ -45,7 +45,7 @@ horizon_services:
|
|||||||
- "balance source"
|
- "balance source"
|
||||||
tls_backend: "{{ horizon_enable_tls_backend }}"
|
tls_backend: "{{ horizon_enable_tls_backend }}"
|
||||||
horizon_redirect:
|
horizon_redirect:
|
||||||
enabled: "{{ enable_horizon|bool and kolla_enable_tls_internal|bool }}"
|
enabled: "{{ enable_horizon | bool and kolla_enable_tls_internal | bool }}"
|
||||||
mode: "redirect"
|
mode: "redirect"
|
||||||
external: false
|
external: false
|
||||||
port: "{{ horizon_port }}"
|
port: "{{ horizon_port }}"
|
||||||
@ -54,7 +54,7 @@ horizon_services:
|
|||||||
enabled: "{{ enable_horizon }}"
|
enabled: "{{ enable_horizon }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: true
|
external: true
|
||||||
port: "{% if kolla_enable_tls_external|bool %}{{ horizon_tls_port }}{% else %}{{ horizon_port }}{% endif %}"
|
port: "{% if kolla_enable_tls_external | bool %}{{ horizon_tls_port }}{% else %}{{ horizon_port }}{% endif %}"
|
||||||
listen_port: "{{ horizon_listen_port }}"
|
listen_port: "{{ horizon_listen_port }}"
|
||||||
frontend_http_extra:
|
frontend_http_extra:
|
||||||
- "use_backend acme_client_back if { path_reg ^/.well-known/acme-challenge/.+ }"
|
- "use_backend acme_client_back if { path_reg ^/.well-known/acme-challenge/.+ }"
|
||||||
@ -62,7 +62,7 @@ horizon_services:
|
|||||||
- "balance source"
|
- "balance source"
|
||||||
tls_backend: "{{ horizon_enable_tls_backend }}"
|
tls_backend: "{{ horizon_enable_tls_backend }}"
|
||||||
horizon_external_redirect:
|
horizon_external_redirect:
|
||||||
enabled: "{{ enable_horizon|bool and kolla_enable_tls_external|bool }}"
|
enabled: "{{ enable_horizon | bool and kolla_enable_tls_external | bool }}"
|
||||||
mode: "redirect"
|
mode: "redirect"
|
||||||
external: true
|
external: true
|
||||||
port: "{{ horizon_port }}"
|
port: "{{ horizon_port }}"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -26,7 +26,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -63,7 +63,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
environment: "{{ upgrade_environment if ironic_enable_rolling_upgrade|bool else bootstrap_environment }}"
|
environment: "{{ upgrade_environment if ironic_enable_rolling_upgrade | bool else bootstrap_environment }}"
|
||||||
image: "{{ ironic_api.image }}"
|
image: "{{ ironic_api.image }}"
|
||||||
labels:
|
labels:
|
||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_ironic"
|
name: "bootstrap_ironic"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ ironic_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ ironic_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[ironic_api.group][0] }}"
|
delegate_to: "{{ groups[ironic_api.group][0] }}"
|
||||||
when: inventory_hostname in groups[ironic_api.group]
|
when: inventory_hostname in groups[ironic_api.group]
|
||||||
@ -40,7 +40,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_ironic_inspector"
|
name: "bootstrap_ironic_inspector"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ ironic_inspector.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ ironic_inspector.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[ironic_inspector.group][0] }}"
|
delegate_to: "{{ groups[ironic_inspector.group][0] }}"
|
||||||
when: inventory_hostname in groups[ironic_inspector.group]
|
when: inventory_hostname in groups[ironic_inspector.group]
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
cap_add: "{{ item.value.cap_add|default([]) }}"
|
cap_add: "{{ item.value.cap_add | default([]) }}"
|
||||||
environment: "{{ item.value.environment | default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
privileged: "{{ service.privileged }}"
|
privileged: "{{ service.privileged }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -28,7 +28,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
privileged: "{{ service.privileged }}"
|
privileged: "{{ service.privileged }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
ipc_mode: "{{ item.value.ipc_mode }}"
|
ipc_mode: "{{ item.value.ipc_mode }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
when:
|
when:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
KOLLA_UPGRADE:
|
KOLLA_UPGRADE:
|
||||||
name: "init_upgrade_database"
|
name: "init_upgrade_database"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
when:
|
when:
|
||||||
@ -36,7 +36,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -52,7 +52,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -68,7 +68,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -91,7 +91,7 @@
|
|||||||
KOLLA_UPGRADE:
|
KOLLA_UPGRADE:
|
||||||
name: "finish_upgrade_database"
|
name: "finish_upgrade_database"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
when:
|
when:
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_keystone"
|
name: "bootstrap_keystone"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ keystone.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ keystone.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Running Keystone fernet bootstrap container
|
- name: Running Keystone fernet bootstrap container
|
||||||
@ -67,7 +67,7 @@
|
|||||||
fernet_setup --keystone-user {{ keystone_username }} --keystone-group {{ keystone_groupname }}'
|
fernet_setup --keystone-user {{ keystone_username }} --keystone-group {{ keystone_groupname }}'
|
||||||
name: "bootstrap_keystone_fernet"
|
name: "bootstrap_keystone_fernet"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ keystone_fernet.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ keystone_fernet.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['keystone'][0] }}"
|
delegate_to: "{{ groups['keystone'][0] }}"
|
||||||
when:
|
when:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -125,7 +125,7 @@
|
|||||||
- inventory_hostname in groups[keystone.group]
|
- inventory_hostname in groups[keystone.group]
|
||||||
- keystone.enabled | bool
|
- keystone.enabled | bool
|
||||||
- keystone_domain_directory.stat.exists
|
- keystone_domain_directory.stat.exists
|
||||||
with_items: "{{ keystone_domains.files|default([]) }}"
|
with_items: "{{ keystone_domains.files | default([]) }}"
|
||||||
notify:
|
notify:
|
||||||
- Restart keystone container
|
- Restart keystone container
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
cap_add: "{{ item.value.cap_add }}"
|
cap_add: "{{ item.value.cap_add }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
|
@ -98,9 +98,9 @@
|
|||||||
failed_when: ping_output.rc != 1
|
failed_when: ping_output.rc != 1
|
||||||
with_items:
|
with_items:
|
||||||
- address: "{{ kolla_internal_vip_address }}"
|
- address: "{{ kolla_internal_vip_address }}"
|
||||||
command: "{{ 'ping' if kolla_internal_vip_address|ipv4 else 'ping6' }}"
|
command: "{{ 'ping' if kolla_internal_vip_address | ipv4 else 'ping6' }}"
|
||||||
- address: "{{ kolla_external_vip_address }}"
|
- address: "{{ kolla_external_vip_address }}"
|
||||||
command: "{{ 'ping' if kolla_external_vip_address|ipv4 else 'ping6' }}"
|
command: "{{ 'ping' if kolla_external_vip_address | ipv4 else 'ping6' }}"
|
||||||
when:
|
when:
|
||||||
- enable_keepalived | bool
|
- enable_keepalived | bool
|
||||||
- keepalived_vip_prechecks
|
- keepalived_vip_prechecks
|
||||||
@ -167,7 +167,7 @@
|
|||||||
|
|
||||||
- name: Setting haproxy stat fact
|
- name: Setting haproxy stat fact
|
||||||
set_fact:
|
set_fact:
|
||||||
haproxy_stat: "{{ haproxy_stat_shell.stdout|default('') }}"
|
haproxy_stat: "{{ haproxy_stat_shell.stdout | default('') }}"
|
||||||
|
|
||||||
- name: Checking free port for Aodh API HAProxy
|
- name: Checking free port for Aodh API HAProxy
|
||||||
wait_for:
|
wait_for:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -26,7 +26,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_magnum"
|
name: "bootstrap_magnum"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ magnum_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ magnum_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[magnum_api.group][0] }}"
|
delegate_to: "{{ groups[magnum_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
environment: "{{ item.value.environment }}"
|
environment: "{{ item.value.environment }}"
|
||||||
|
@ -222,7 +222,7 @@ manila_backends:
|
|||||||
protocols:
|
protocols:
|
||||||
- "NFS"
|
- "NFS"
|
||||||
|
|
||||||
manila_enabled_backends: "{{ manila_backends|selectattr('enabled', 'equalto', true)|list }}"
|
manila_enabled_backends: "{{ manila_backends | selectattr('enabled', 'equalto', true) | list }}"
|
||||||
|
|
||||||
|
|
||||||
####################
|
####################
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -26,7 +26,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -42,7 +42,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -60,7 +60,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
ipc_mode: "host"
|
ipc_mode: "host"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_manila"
|
name: "bootstrap_manila"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ manila_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ manila_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[manila_api.group][0] }}"
|
delegate_to: "{{ groups[manila_api.group][0] }}"
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@ mariadb_services:
|
|||||||
dimensions: "{{ mariadb_dimensions }}"
|
dimensions: "{{ mariadb_dimensions }}"
|
||||||
haproxy:
|
haproxy:
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: "{{ enable_mariadb|bool and not enable_external_mariadb_load_balancer|bool }}"
|
enabled: "{{ enable_mariadb | bool and not enable_external_mariadb_load_balancer | bool }}"
|
||||||
mode: "tcp"
|
mode: "tcp"
|
||||||
port: "{{ database_port }}"
|
port: "{{ database_port }}"
|
||||||
listen_port: "{{ mariadb_port }}"
|
listen_port: "{{ mariadb_port }}"
|
||||||
@ -22,7 +22,7 @@ mariadb_services:
|
|||||||
- "{% if enable_mariadb_clustercheck | bool %}option httpchk{% endif %}"
|
- "{% if enable_mariadb_clustercheck | bool %}option httpchk{% endif %}"
|
||||||
custom_member_list: "{{ internal_haproxy_members.split(';') }}"
|
custom_member_list: "{{ internal_haproxy_members.split(';') }}"
|
||||||
mariadb_external_lb:
|
mariadb_external_lb:
|
||||||
enabled: "{{ enable_external_mariadb_load_balancer|bool }}"
|
enabled: "{{ enable_external_mariadb_load_balancer | bool }}"
|
||||||
mode: "tcp"
|
mode: "tcp"
|
||||||
port: "{{ database_port }}"
|
port: "{{ database_port }}"
|
||||||
listen_port: "{{ mariadb_port }}"
|
listen_port: "{{ mariadb_port }}"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -26,7 +26,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -42,7 +42,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(True) }}"
|
privileged: "{{ service.privileged | default(True) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -58,7 +58,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_masakari"
|
name: "bootstrap_masakari"
|
||||||
restart_policy: "no"
|
restart_policy: "no"
|
||||||
volumes: "{{ masakari_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ masakari_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[masakari_api.group][0] }}"
|
delegate_to: "{{ groups[masakari_api.group][0] }}"
|
||||||
|
@ -10,7 +10,7 @@ memcached_services:
|
|||||||
healthcheck: "{{ memcached_healthcheck }}"
|
healthcheck: "{{ memcached_healthcheck }}"
|
||||||
haproxy:
|
haproxy:
|
||||||
memcached:
|
memcached:
|
||||||
enabled: "{{ enable_memcached|bool and enable_haproxy_memcached|bool }}"
|
enabled: "{{ enable_memcached | bool and enable_haproxy_memcached | bool }}"
|
||||||
mode: "tcp"
|
mode: "tcp"
|
||||||
port: "{{ memcached_port }}"
|
port: "{{ memcached_port }}"
|
||||||
frontend_tcp_extra:
|
frontend_tcp_extra:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
@ -57,7 +57,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_mistral"
|
name: "bootstrap_mistral"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ mistral_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ mistral_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[mistral_api.group][0] }}"
|
delegate_to: "{{ groups[mistral_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -120,7 +120,7 @@ monasca_default_topic_partitions: 30
|
|||||||
|
|
||||||
# The default number of topic replicas. Generally you should not change
|
# The default number of topic replicas. Generally you should not change
|
||||||
# this.
|
# this.
|
||||||
monasca_default_topic_replication_factor: "{{ kafka_broker_count if kafka_broker_count|int < 3 else 3 }}"
|
monasca_default_topic_replication_factor: "{{ kafka_broker_count if kafka_broker_count | int < 3 else 3 }}"
|
||||||
|
|
||||||
# Kafka topic names used by Monasca services
|
# Kafka topic names used by Monasca services
|
||||||
monasca_metrics_topic: "metrics"
|
monasca_metrics_topic: "metrics"
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
environment:
|
environment:
|
||||||
KOLLA_BOOTSTRAP:
|
KOLLA_BOOTSTRAP:
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[service.group]|first }}"
|
delegate_to: "{{ groups[service.group] | first }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
|
||||||
@ -67,7 +67,7 @@
|
|||||||
KOLLA_BOOTSTRAP:
|
KOLLA_BOOTSTRAP:
|
||||||
TOPOLOGY_REPLACE:
|
TOPOLOGY_REPLACE:
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[service.group]|first }}"
|
delegate_to: "{{ groups[service.group] | first }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode | default('') }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
state: "{{ item.value.state | default('running') }}"
|
state: "{{ item.value.state | default('running') }}"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
name: "{{ monasca_services.values()|map(attribute='container_name')|list }}"
|
name: "{{ monasca_services.values() | map(attribute='container_name') | list }}"
|
||||||
register: container_facts
|
register: container_facts
|
||||||
|
|
||||||
- name: Checking free port for monasca-api
|
- name: Checking free port for monasca-api
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
name: "{{ monasca_services['monasca-thresh']['container_name'] }}"
|
name: "{{ monasca_services['monasca-thresh']['container_name'] }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['monasca-thresh']
|
- inventory_hostname in groups['monasca-thresh']
|
||||||
- inventory_hostname != groups['monasca-thresh']|first
|
- inventory_hostname != groups['monasca-thresh'] | first
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
privileged: "{{ service.privileged }}"
|
privileged: "{{ service.privileged }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
@ -11,13 +11,13 @@ neutron_services:
|
|||||||
healthcheck: "{{ neutron_server_healthcheck }}"
|
healthcheck: "{{ neutron_server_healthcheck }}"
|
||||||
haproxy:
|
haproxy:
|
||||||
neutron_server:
|
neutron_server:
|
||||||
enabled: "{{ enable_neutron | bool and not neutron_enable_tls_backend | bool}}"
|
enabled: "{{ enable_neutron | bool and not neutron_enable_tls_backend | bool }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: false
|
external: false
|
||||||
port: "{{ neutron_server_port }}"
|
port: "{{ neutron_server_port }}"
|
||||||
listen_port: "{{ neutron_server_listen_port }}"
|
listen_port: "{{ neutron_server_listen_port }}"
|
||||||
neutron_server_external:
|
neutron_server_external:
|
||||||
enabled: "{{ enable_neutron | bool and not neutron_enable_tls_backend | bool}}"
|
enabled: "{{ enable_neutron | bool and not neutron_enable_tls_backend | bool }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: true
|
external: true
|
||||||
port: "{{ neutron_server_port }}"
|
port: "{{ neutron_server_port }}"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -27,7 +27,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -44,7 +44,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -63,7 +63,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -80,7 +80,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -98,7 +98,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
environment: "{{ service.environment }}"
|
environment: "{{ service.environment }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -115,7 +115,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -132,7 +132,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
when:
|
when:
|
||||||
@ -148,7 +148,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
when:
|
when:
|
||||||
@ -164,7 +164,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -180,7 +180,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -197,7 +197,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
@ -248,7 +248,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
name: "{{ neutron_server.container_name }}"
|
name: "{{ neutron_server.container_name }}"
|
||||||
when:
|
when:
|
||||||
- neutron_server.host_in_groups | bool
|
- neutron_server.host_in_groups | bool
|
||||||
- is_stop_neutron_server|length > 0
|
- is_stop_neutron_server | length > 0
|
||||||
notify:
|
notify:
|
||||||
- "Restart neutron-server container"
|
- "Restart neutron-server container"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -28,7 +28,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -46,7 +46,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -64,7 +64,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -83,7 +83,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
pid_mode: "{{ service.pid_mode | default('') }}"
|
pid_mode: "{{ service.pid_mode | default('') }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -103,7 +103,7 @@
|
|||||||
pid_mode: "{{ service.pid_mode | default('') }}"
|
pid_mode: "{{ service.pid_mode | default('') }}"
|
||||||
cgroupns_mode: "{{ service.cgroupns_mode | default(omit) }}"
|
cgroupns_mode: "{{ service.cgroupns_mode | default(omit) }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
register: restart_nova_libvirt
|
register: restart_nova_libvirt
|
||||||
@ -147,7 +147,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
ipc_mode: "{{ service.ipc_mode }}"
|
ipc_mode: "{{ service.ipc_mode }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -164,7 +164,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
environment: "{{ item.value.environment|default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode | default('') }}"
|
||||||
cgroupns_mode: "{{ item.value.cgroupns_mode|default(omit) }}"
|
cgroupns_mode: "{{ item.value.cgroupns_mode | default(omit) }}"
|
||||||
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
|
ipc_mode: "{{ item.value.ipc_mode | default(omit) }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -27,11 +27,11 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
environment: "{{ service.environment|default(omit) }}"
|
environment: "{{ service.environment | default(omit) }}"
|
||||||
pid_mode: "{{ service.pid_mode|default('') }}"
|
pid_mode: "{{ service.pid_mode | default('') }}"
|
||||||
ipc_mode: "{{ service.ipc_mode|default(omit) }}"
|
ipc_mode: "{{ service.ipc_mode | default(omit) }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -97,7 +97,7 @@ nova_api_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|||||||
nova_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
nova_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
||||||
nova_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
nova_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
||||||
nova_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
nova_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
||||||
nova_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if nova_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ nova_api_listen_port}} "]
|
nova_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if nova_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ nova_api_listen_port }} "]
|
||||||
nova_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
nova_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
||||||
nova_api_healthcheck:
|
nova_api_healthcheck:
|
||||||
interval: "{{ nova_api_healthcheck_interval }}"
|
interval: "{{ nova_api_healthcheck_interval }}"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -28,7 +28,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -46,7 +46,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
environment: "{{ item.value.environment|default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode | default('') }}"
|
||||||
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
|
ipc_mode: "{{ item.value.ipc_mode | default(omit) }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -24,7 +24,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -67,7 +67,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
@ -82,7 +82,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[item.value.group]
|
||||||
|
@ -39,9 +39,9 @@ ovsdpdk_services:
|
|||||||
####################
|
####################
|
||||||
ovs_bridge_mappings: "{% for bridge in neutron_bridge_name.split(',') %}physnet{{ loop.index0 + 1 }}:{{ bridge }}{% if not loop.last %},{% endif %}{% endfor %}"
|
ovs_bridge_mappings: "{% for bridge in neutron_bridge_name.split(',') %}physnet{{ loop.index0 + 1 }}:{{ bridge }}{% if not loop.last %},{% endif %}{% endfor %}"
|
||||||
ovs_port_mappings: "{% for bridge in neutron_bridge_name.split(',') %} {{ neutron_external_interface.split(',')[loop.index0] }}:{{ bridge }}{% if not loop.last %},{% endif %}{% endfor %}"
|
ovs_port_mappings: "{% for bridge in neutron_bridge_name.split(',') %} {{ neutron_external_interface.split(',')[loop.index0] }}:{{ bridge }}{% if not loop.last %},{% endif %}{% endfor %}"
|
||||||
tunnel_interface_network: "{{ hostvars[inventory_hostname].ansible_facts[dpdk_tunnel_interface]['ipv4']['network']}}/{{hostvars[inventory_hostname].ansible_facts[dpdk_tunnel_interface]['ipv4']['netmask'] }}"
|
tunnel_interface_network: "{{ hostvars[inventory_hostname].ansible_facts[dpdk_tunnel_interface]['ipv4']['network'] }}/{{ hostvars[inventory_hostname].ansible_facts[dpdk_tunnel_interface]['ipv4']['netmask'] }}"
|
||||||
tunnel_interface_cidr: "{{ dpdk_tunnel_interface_address }}/{{ tunnel_interface_network | ipaddr('prefix') }}"
|
tunnel_interface_cidr: "{{ dpdk_tunnel_interface_address }}/{{ tunnel_interface_network | ipaddr('prefix') }}"
|
||||||
ovs_cidr_mappings: "{% if neutron_bridge_name.split(',')|length != 1 %} {neutron_bridge_name.split(',')[0]}:{{ tunnel_interface_cidr }} {% else %} {{ neutron_bridge_name }}:{{ tunnel_interface_cidr }} {% endif %}"
|
ovs_cidr_mappings: "{% if neutron_bridge_name.split(',') | length != 1 %} {neutron_bridge_name.split(',')[0]}:{{ tunnel_interface_cidr }} {% else %} {{ neutron_bridge_name }}:{{ tunnel_interface_cidr }} {% endif %}"
|
||||||
ovs_mem_channels: 4
|
ovs_mem_channels: 4
|
||||||
ovs_socket_mem: 1024
|
ovs_socket_mem: 1024
|
||||||
ovs_hugepage_mountpoint: /dev/hugepages
|
ovs_hugepage_mountpoint: /dev/hugepages
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_placement"
|
name: "bootstrap_placement"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ placement_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ placement_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[placement_api.group][0] }}"
|
delegate_to: "{{ groups[placement_api.group][0] }}"
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
environment: "{{ item.value.environment|default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode | default('') }}"
|
||||||
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
|
ipc_mode: "{{ item.value.ipc_mode | default(omit) }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
- include_tasks: timesync_checks.yml
|
- include_tasks: timesync_checks.yml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname not in groups['deployment']|default([])
|
- inventory_hostname not in groups['deployment'] | default([])
|
||||||
|
|
||||||
- import_tasks: datetime_checks.yml
|
- import_tasks: datetime_checks.yml
|
||||||
|
|
||||||
- include_tasks: port_checks.yml
|
- include_tasks: port_checks.yml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname not in groups['deployment']|default([])
|
- inventory_hostname not in groups['deployment'] | default([])
|
||||||
|
|
||||||
- import_tasks: service_checks.yml
|
- import_tasks: service_checks.yml
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ prometheus_openstack_exporter_disabled_volume: "{{ '--disable-service.volume' if
|
|||||||
prometheus_openstack_exporter_disabled_dns: "{{ '--disable-service.dns' if not enable_designate | bool else '' }}"
|
prometheus_openstack_exporter_disabled_dns: "{{ '--disable-service.dns' if not enable_designate | bool else '' }}"
|
||||||
prometheus_openstack_exporter_disabled_object: "{{ '--disable-service.object-store' if not enable_swift | bool else '' }}"
|
prometheus_openstack_exporter_disabled_object: "{{ '--disable-service.object-store' if not enable_swift | bool else '' }}"
|
||||||
prometheus_openstack_exporter_disabled_lb: "{{ '--disable-service.load-balancer --disable-metric=neutron-loadbalancers --disable-metric=neutron-loadbalancers_not_active' if not enable_octavia | bool else '' }}"
|
prometheus_openstack_exporter_disabled_lb: "{{ '--disable-service.load-balancer --disable-metric=neutron-loadbalancers --disable-metric=neutron-loadbalancers_not_active' if not enable_octavia | bool else '' }}"
|
||||||
prometheus_openstack_exporter_disabled_items: "{{ [prometheus_openstack_exporter_disabled_volume, prometheus_openstack_exporter_disabled_dns, prometheus_openstack_exporter_disabled_object, prometheus_openstack_exporter_disabled_lb|trim]|join(' ')|trim }}"
|
prometheus_openstack_exporter_disabled_items: "{{ [prometheus_openstack_exporter_disabled_volume, prometheus_openstack_exporter_disabled_dns, prometheus_openstack_exporter_disabled_object, prometheus_openstack_exporter_disabled_lb | trim] | join(' ') | trim }}"
|
||||||
|
|
||||||
prometheus_blackbox_exporter_cmdline_extras: ""
|
prometheus_blackbox_exporter_cmdline_extras: ""
|
||||||
prometheus_cadvisor_cmdline_extras: "--docker_only --store_container_labels=false --disable_metrics=percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process"
|
prometheus_cadvisor_cmdline_extras: "--docker_only --store_container_labels=false --disable_metrics=percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process"
|
||||||
|
@ -117,7 +117,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes }}"
|
volumes: "{{ service.volumes }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
environment: "{{ service.environment|default(omit) }}"
|
environment: "{{ service.environment | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode | default('') }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
environment: "{{ item.value.environment|default(omit) }}"
|
environment: "{{ item.value.environment | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[item.value.group]
|
||||||
- item.value.enabled | bool
|
- item.value.enabled | bool
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname != groups[role_rabbitmq_groups]|first
|
- inventory_hostname != groups[role_rabbitmq_groups] | first
|
||||||
- rabbitmq_differs['result']
|
- rabbitmq_differs['result']
|
||||||
|
|
||||||
- name: Stopping rabbitmq on the first node
|
- name: Stopping rabbitmq on the first node
|
||||||
@ -60,7 +60,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups[role_rabbitmq_groups]|first
|
- inventory_hostname == groups[role_rabbitmq_groups] | first
|
||||||
- rabbitmq_differs['result']
|
- rabbitmq_differs['result']
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_sahara"
|
name: "bootstrap_sahara"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ sahara_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ sahara_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[sahara_api.group][0] }}"
|
delegate_to: "{{ groups[sahara_api.group][0] }}"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
privileged: "{{ item.value.privileged | default(False) }}"
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -25,7 +25,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -41,7 +41,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
@ -57,7 +57,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_senlin"
|
name: "bootstrap_senlin"
|
||||||
restart_policy: no
|
restart_policy: no
|
||||||
volumes: "{{ senlin_api.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ senlin_api.volumes | reject('equalto', '') | list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[senlin_api.group][0] }}"
|
delegate_to: "{{ groups[senlin_api.group][0] }}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes | reject('equalto', '') | list }}"
|
||||||
dimensions: "{{ item.value.dimensions }}"
|
dimensions: "{{ item.value.dimensions }}"
|
||||||
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
healthcheck: "{{ item.value.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user