Skip to content
Snippets Groups Projects
Commit 0d5407d5 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add enable service logic in port check"

parents 471e2c0d e958d6fd
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,9 @@ ...@@ -125,7 +125,9 @@
port: "{{ etcd_peer_port }}" port: "{{ etcd_peer_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['etcd'] when:
- inventory_hostname in groups['etcd']
- enable_etcd | bool
- name: Checking free port for Etcd Client - name: Checking free port for Etcd Client
wait_for: wait_for:
...@@ -133,7 +135,9 @@ ...@@ -133,7 +135,9 @@
port: "{{ etcd_client_port }}" port: "{{ etcd_client_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['etcd'] when:
- inventory_hostname in groups['etcd']
- enable_etcd | bool
- name: Checking free port for Glance API - name: Checking free port for Glance API
wait_for: wait_for:
...@@ -311,7 +315,9 @@ ...@@ -311,7 +315,9 @@
port: "{{ influxdb_admin_port }}" port: "{{ influxdb_admin_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['influxdb'] when:
- inventory_hostname in groups['influxdb']
- enable_influxdb | bool
- name: Checking free port for Influxdb Http - name: Checking free port for Influxdb Http
wait_for: wait_for:
...@@ -319,7 +325,9 @@ ...@@ -319,7 +325,9 @@
port: "{{ influxdb_http_port }}" port: "{{ influxdb_http_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['influxdb'] when:
- inventory_hostname in groups['influxdb']
- enable_influxdb | bool
- name: Checking free port for Keystone Admin - name: Checking free port for Keystone Admin
wait_for: wait_for:
...@@ -864,7 +872,9 @@ ...@@ -864,7 +872,9 @@
port: "{{ searchlight_api_port }}" port: "{{ searchlight_api_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['searchlight-api'] when:
- inventory_hostname in groups['searchlight-api']
- enable_searchlight | bool
- name: Checking free port for Searchlight API HAProxy - name: Checking free port for Searchlight API HAProxy
wait_for: wait_for:
...@@ -872,7 +882,9 @@ ...@@ -872,7 +882,9 @@
port: "{{ searchlight_api_port }}" port: "{{ searchlight_api_port }}"
connect_timeout: 1 connect_timeout: 1
state: stopped state: stopped
when: inventory_hostname in groups['haproxy'] when:
- inventory_hostname in groups['haproxy']
- enable_searchlight | bool
- name: Checking the network_interface is present - name: Checking the network_interface is present
fail: "msg='Please check the network_interface property - interface {{ network_interface }} not found'" fail: "msg='Please check the network_interface property - interface {{ network_interface }} not found'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment