Add timeout parameter for precheck tasks

wait_for module waits 300 seconds for the port started or stopped.  This
is meaningless and useless in precheck. This patch change timeout to 1
seconds.

Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
Closes-Bug: #1688152
This commit is contained in:
Jeffrey Zhang 2017-05-04 08:52:57 +08:00
parent b236be7cb1
commit b1f015616c
46 changed files with 125 additions and 0 deletions

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ aodh_api_port }}" port: "{{ aodh_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['aodh_api'] is not defined - container_facts['aodh_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ barbican_api_port }}" port: "{{ barbican_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['barbican_api'] is not defined - container_facts['barbican_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ ceilometer_api_port }}" port: "{{ ceilometer_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['ceilometer_api'] is not defined - container_facts['ceilometer_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ rgw_port }}" port: "{{ rgw_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['ceph-rgw'] is not defined - container_facts['ceph-rgw'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ cinder_api_port }}" port: "{{ cinder_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['cinder_api'] is not defined - container_facts['cinder_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ cloudkitty_api_port }}" port: "{{ cloudkitty_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['cloudkitty_api'] is not defined - container_facts['cloudkitty_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ congress_api_port }}" port: "{{ congress_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['congress_api'] is not defined - container_facts['congress_api'] is not defined

View File

@ -14,6 +14,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ designate_api_port }}" port: "{{ designate_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['designate_api'] is not defined - container_facts['designate_api'] is not defined
@ -24,6 +25,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + dns_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + dns_interface]['ipv4']['address'] }}"
port: "{{ designate_mdns_port }}" port: "{{ designate_mdns_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['designate_mdns'] is not defined - container_facts['designate_mdns'] is not defined
@ -34,6 +36,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ designate_bind_port }}" port: "{{ designate_bind_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- designate_backend == 'bind9' - designate_backend == 'bind9'
@ -45,6 +48,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ designate_rndc_port }}" port: "{{ designate_rndc_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- designate_backend == 'bind9' - designate_backend == 'bind9'

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ elasticsearch_port }}" port: "{{ elasticsearch_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['elasticsearch'] is not defined - container_facts['elasticsearch'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ etcd_peer_port }}" port: "{{ etcd_peer_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['etcd'] is not defined - container_facts['etcd'] is not defined
@ -20,6 +21,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ etcd_client_port }}" port: "{{ etcd_client_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['etcd'] is not defined - container_facts['etcd'] is not defined

View File

@ -9,6 +9,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ freezer_api_port }}" port: "{{ freezer_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- inventory_hostname in groups[freezer_services['freezer-api']['group']] - inventory_hostname in groups[freezer_services['freezer-api']['group']]

View File

@ -9,6 +9,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ glance_api_port }}" port: "{{ glance_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- inventory_hostname in groups[glance_services['glance-api']['group']] - inventory_hostname in groups[glance_services['glance-api']['group']]
@ -19,6 +20,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ glance_registry_port }}" port: "{{ glance_registry_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- inventory_hostname in groups[glance_services['glance-registry']['group']] - inventory_hostname in groups[glance_services['glance-registry']['group']]

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ gnocchi_api_port }}" port: "{{ gnocchi_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['gnocchi_api'] is not defined - container_facts['gnocchi_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ grafana_server_port }}" port: "{{ grafana_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['grafana'] is not defined - container_facts['grafana'] is not defined

View File

@ -51,6 +51,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ haproxy_stats_port }}" port: "{{ haproxy_stats_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_haproxy | bool - enable_haproxy | bool
@ -84,6 +85,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ aodh_api_port }}" port: "{{ aodh_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_aodh | bool - enable_aodh | bool
@ -95,6 +97,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ barbican_api_port }}" port: "{{ barbican_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_barbican | bool - enable_barbican | bool
@ -106,6 +109,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ ceilometer_api_port }}" port: "{{ ceilometer_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_ceilometer | bool - enable_ceilometer | bool
@ -117,6 +121,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ cinder_api_port }}" port: "{{ cinder_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_cinder | bool - enable_cinder | bool
@ -128,6 +133,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ cloudkitty_api_port }}" port: "{{ cloudkitty_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_cloudkitty | bool - enable_cloudkitty | bool
@ -139,6 +145,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ congress_api_port }}" port: "{{ congress_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_congress | bool - enable_congress | bool
@ -150,6 +157,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ designate_api_port }}" port: "{{ designate_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_designate | bool - enable_designate | bool
@ -161,6 +169,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ elasticsearch_port }}" port: "{{ elasticsearch_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_elasticsearch | bool - enable_elasticsearch | bool
@ -172,6 +181,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ glance_api_port }}" port: "{{ glance_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_glance | bool - enable_glance | bool
@ -183,6 +193,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ glance_registry_port }}" port: "{{ glance_registry_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_glance | bool - enable_glance | bool
@ -194,6 +205,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ gnocchi_api_port }}" port: "{{ gnocchi_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_gnocchi | bool - enable_gnocchi | bool
@ -205,6 +217,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ freezer_api_port }}" port: "{{ freezer_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_freezer | bool - enable_freezer | bool
@ -216,6 +229,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ grafana_server_port }}" port: "{{ grafana_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_grafana | bool - enable_grafana | bool
@ -227,6 +241,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ heat_api_port }}" port: "{{ heat_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_heat | bool - enable_heat | bool
@ -238,6 +253,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ heat_api_cfn_port }}" port: "{{ heat_api_cfn_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_heat | bool - enable_heat | bool
@ -249,6 +265,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ horizon_port }}" port: "{{ horizon_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_horizon | bool - enable_horizon | bool
@ -260,6 +277,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ ironic_api_port }}" port: "{{ ironic_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_ironic | bool - enable_ironic | bool
@ -271,6 +289,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ ironic_inspector_port }}" port: "{{ ironic_inspector_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_ironic | bool - enable_ironic | bool
@ -282,6 +301,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ karbor_api_port }}" port: "{{ karbor_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_karbor | bool - enable_karbor | bool
@ -293,6 +313,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ keystone_admin_port }}" port: "{{ keystone_admin_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_keystone | bool - enable_keystone | bool
@ -304,6 +325,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ keystone_public_port }}" port: "{{ keystone_public_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_keystone | bool - enable_keystone | bool
@ -315,6 +337,7 @@
host: "{{ kolla_external_vip_address }}" host: "{{ kolla_external_vip_address }}"
port: "{{ keystone_public_port }}" port: "{{ keystone_public_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- haproxy_enable_external_vip | bool - haproxy_enable_external_vip | bool
@ -327,6 +350,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ kibana_server_port }}" port: "{{ kibana_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_kibana | bool - enable_kibana | bool
@ -338,6 +362,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ magnum_api_port }}" port: "{{ magnum_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_magnum | bool - enable_magnum | bool
@ -349,6 +374,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ manila_api_port }}" port: "{{ manila_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_manila | bool - enable_manila | bool
@ -360,6 +386,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ database_port }}" port: "{{ database_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_mariadb | bool - enable_mariadb | bool
@ -371,6 +398,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ mistral_api_port }}" port: "{{ mistral_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_mistral | bool - enable_mistral | bool
@ -382,6 +410,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ mongodb_port }}" port: "{{ mongodb_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_mongodb | bool - enable_mongodb | bool
@ -393,6 +422,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ murano_api_port }}" port: "{{ murano_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_murano | bool - enable_murano | bool
@ -404,6 +434,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ neutron_server_port }}" port: "{{ neutron_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_neutron | bool - enable_neutron | bool
@ -415,6 +446,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ nova_api_port }}" port: "{{ nova_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -426,6 +458,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ nova_metadata_port }}" port: "{{ nova_metadata_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -437,6 +470,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ nova_novncproxy_port }}" port: "{{ nova_novncproxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -449,6 +483,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ nova_serialproxy_port }}" port: "{{ nova_serialproxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -461,6 +496,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ nova_spicehtml5proxy_port }}" port: "{{ nova_spicehtml5proxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -473,6 +509,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ placement_api_port }}" port: "{{ placement_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_nova | bool - enable_nova | bool
@ -484,6 +521,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ octavia_api_port }}" port: "{{ octavia_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_octavia | bool - enable_octavia | bool
@ -495,6 +533,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ panko_api_port }}" port: "{{ panko_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_panko | bool - enable_panko | bool
@ -506,6 +545,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ rabbitmq_management_port }}" port: "{{ rabbitmq_management_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_rabbitmq | bool - enable_rabbitmq | bool
@ -517,6 +557,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ rgw_port }}" port: "{{ rgw_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_ceph_rgw | bool - enable_ceph_rgw | bool
@ -528,6 +569,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ sahara_api_port }}" port: "{{ sahara_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_sahara | bool - enable_sahara | bool
@ -539,6 +581,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ searchlight_api_port }}" port: "{{ searchlight_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_searchlight | bool - enable_searchlight | bool
@ -550,6 +593,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ senlin_api_port }}" port: "{{ senlin_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_senlin | bool - enable_senlin | bool
@ -561,6 +605,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ solum_application_deployment_port }}" port: "{{ solum_application_deployment_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_solum | bool - enable_solum | bool
@ -572,6 +617,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ solum_image_builder_port }}" port: "{{ solum_image_builder_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_solum | bool - enable_solum | bool
@ -583,6 +629,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ swift_proxy_server_port }}" port: "{{ swift_proxy_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_swift | bool - enable_swift | bool
@ -594,6 +641,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ tacker_server_port }}" port: "{{ tacker_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_tacker | bool - enable_tacker | bool
@ -605,6 +653,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ trove_api_port }}" port: "{{ trove_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_trove | bool - enable_trove | bool
@ -616,6 +665,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ watcher_api_port }}" port: "{{ watcher_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_watcher | bool - enable_watcher | bool
@ -627,6 +677,7 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ zun_api_port }}" port: "{{ zun_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- enable_zun | bool - enable_zun | bool

View File

@ -11,6 +11,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ heat_api_port }}" port: "{{ heat_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['heat_api'] is not defined - container_facts['heat_api'] is not defined
@ -21,6 +22,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ heat_api_cfn_port }}" port: "{{ heat_api_cfn_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['heat_api_cfn'] is not defined - container_facts['heat_api_cfn'] is not defined

View File

@ -12,6 +12,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ horizon_port }}" port: "{{ horizon_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['horizon'] is not defined - container_facts['horizon'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ influxdb_admin_port }}" port: "{{ influxdb_admin_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['influxdb'] is not defined - container_facts['influxdb'] is not defined
@ -20,6 +21,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ influxdb_http_port }}" port: "{{ influxdb_http_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['influxdb'] is not defined - container_facts['influxdb'] is not defined

View File

@ -11,6 +11,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ ironic_api_port }}" port: "{{ ironic_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['ironic_api'] is not defined - container_facts['ironic_api'] is not defined
@ -21,6 +22,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ ironic_inspector_port }}" port: "{{ ironic_inspector_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['ironic_inspector'] is not defined - container_facts['ironic_inspector'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ iscsi_port }}" port: "{{ iscsi_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['iscsid'] is not defined - container_facts['iscsid'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ karbor_api_port }}" port: "{{ karbor_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- inventory_hostname in groups['karbor-api'] - inventory_hostname in groups['karbor-api']

View File

@ -11,6 +11,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ keystone_admin_port }}" port: "{{ keystone_admin_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['keystone'] is not defined - container_facts['keystone'] is not defined
@ -21,6 +22,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ keystone_public_port }}" port: "{{ keystone_public_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['keystone'] is not defined - container_facts['keystone'] is not defined
@ -33,6 +35,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ keystone_ssh_port }}" port: "{{ keystone_ssh_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['keystone_ssh'] is not defined - container_facts['keystone_ssh'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ api_interface_address }}" host: "{{ api_interface_address }}"
port: "{{ kibana_server_port }}" port: "{{ kibana_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['kibana'] is not defined - container_facts['kibana'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ kuryr_port }}" port: "{{ kuryr_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['kuryr'] is not defined - container_facts['kuryr'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ magnum_api_port }}" port: "{{ magnum_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['magnum_api'] is not defined - container_facts['magnum_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ manila_api_port }}" port: "{{ manila_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['manila_api'] is not defined - container_facts['manila_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ database_port }}" port: "{{ database_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mariadb'] is not defined - container_facts['mariadb'] is not defined
@ -19,6 +20,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mariadb_wsrep_port }}" port: "{{ mariadb_wsrep_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mariadb'] is not defined - container_facts['mariadb'] is not defined
@ -28,6 +30,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mariadb_ist_port }}" port: "{{ mariadb_ist_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mariadb'] is not defined - container_facts['mariadb'] is not defined
@ -37,6 +40,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mariadb_sst_port }}" port: "{{ mariadb_sst_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mariadb'] is not defined - container_facts['mariadb'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ memcached_port }}" port: "{{ memcached_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['memcached'] is not defined - container_facts['memcached'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mistral_api_port }}" port: "{{ mistral_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mistral_api'] is not defined - container_facts['mistral_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mongodb_port }}" port: "{{ mongodb_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mongodb'] is not defined - container_facts['mongodb'] is not defined
@ -20,6 +21,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ mongodb_web_port }}" port: "{{ mongodb_web_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['mongodb'] is not defined - container_facts['mongodb'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ murano_api_port }}" port: "{{ murano_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['murano_api'] is not defined - container_facts['murano_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ neutron_server_port }}" port: "{{ neutron_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['neutron_server'] is not defined - container_facts['neutron_server'] is not defined

View File

@ -23,6 +23,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_api_port }}" port: "{{ nova_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_api'] is not defined - container_facts['nova_api'] is not defined
@ -36,6 +37,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_metadata_port }}" port: "{{ nova_metadata_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_api'] is not defined - container_facts['nova_api'] is not defined
@ -49,6 +51,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_novncproxy_port }}" port: "{{ nova_novncproxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_novncproxy'] is not defined - container_facts['nova_novncproxy'] is not defined
@ -62,6 +65,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_serialproxy_port }}" port: "{{ nova_serialproxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_serialproxy'] is not defined - container_facts['nova_serialproxy'] is not defined
@ -75,6 +79,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_spicehtml5proxy_port }}" port: "{{ nova_spicehtml5proxy_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_spicehtml5proxy'] is not defined - container_facts['nova_spicehtml5proxy'] is not defined
@ -88,6 +93,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ nova_ssh_port }}" port: "{{ nova_ssh_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['nova_ssh'] is not defined - container_facts['nova_ssh'] is not defined
@ -101,6 +107,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ placement_api_port }}" port: "{{ placement_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['placement_api'] is not defined - container_facts['placement_api'] is not defined

View File

@ -11,6 +11,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ octavia_api_port }}" port: "{{ octavia_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['octavia_api'] is not defined - container_facts['octavia_api'] is not defined
@ -21,6 +22,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ octavia_health_manager_port }}" port: "{{ octavia_health_manager_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['octavia_health_manager'] is not defined - container_facts['octavia_health_manager'] is not defined

View File

@ -12,6 +12,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ ovsdb_port }}" port: "{{ ovsdb_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['openvswitch_db'] is not defined - container_facts['openvswitch_db'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ panko_api_port }}" port: "{{ panko_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['panko_api'] is not defined - container_facts['panko_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ rabbitmq_port }}" port: "{{ rabbitmq_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['rabbitmq'] is not defined - container_facts['rabbitmq'] is not defined
@ -20,6 +21,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ rabbitmq_management_port }}" port: "{{ rabbitmq_management_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['rabbitmq'] is not defined - container_facts['rabbitmq'] is not defined
@ -30,6 +32,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ rabbitmq_cluster_port }}" port: "{{ rabbitmq_cluster_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['rabbitmq'] is not defined - container_facts['rabbitmq'] is not defined
@ -40,6 +43,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ rabbitmq_epmd_port }}" port: "{{ rabbitmq_epmd_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['rabbitmq'] is not defined - container_facts['rabbitmq'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ sahara_api_port }}" port: "{{ sahara_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['sahara_api'] is not defined - container_facts['sahara_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ searchlight_api_port }}" port: "{{ searchlight_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['searchlight_api'] is not defined - container_facts['searchlight_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ senlin_api_port }}" port: "{{ senlin_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['senlin_api'] is not defined - container_facts['senlin_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ solum_application_deployment_port }}" port: "{{ solum_application_deployment_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['solum_api'] is not defined - container_facts['solum_api'] is not defined
@ -20,6 +21,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ solum_image_builder_port }}" port: "{{ solum_image_builder_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['solum_api'] is not defined - container_facts['solum_api'] is not defined

View File

@ -13,6 +13,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
port: "{{ swift_account_server_port }}" port: "{{ swift_account_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['swift_account_server'] is not defined - container_facts['swift_account_server'] is not defined
@ -23,6 +24,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
port: "{{ swift_container_server_port }}" port: "{{ swift_container_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['swift_container_server'] is not defined - container_facts['swift_container_server'] is not defined
@ -33,6 +35,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
port: "{{ swift_object_server_port }}" port: "{{ swift_object_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['swift_object_server'] is not defined - container_facts['swift_object_server'] is not defined
@ -43,6 +46,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
port: "873" port: "873"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['swift_object_server'] is not defined - container_facts['swift_object_server'] is not defined
@ -53,6 +57,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ swift_proxy_server_port }}" port: "{{ swift_proxy_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['swift_proxy_server'] is not defined - container_facts['swift_proxy_server'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ tacker_server_port }}" port: "{{ tacker_server_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['tacker'] is not defined - container_facts['tacker'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ trove_api_port }}" port: "{{ trove_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['trove_api'] is not defined - container_facts['trove_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ watcher_api_port }}" port: "{{ watcher_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['watcher_api'] is not defined - container_facts['watcher_api'] is not defined

View File

@ -10,6 +10,7 @@
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ zun_api_port }}" port: "{{ zun_api_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1
state: stopped state: stopped
when: when:
- container_facts['zun_api'] is not defined - container_facts['zun_api'] is not defined