diff options
| author | zhubingbing <1392607554@qq.com> | 2016-09-28 09:18:54 +0000 |
|---|---|---|
| committer | zhubingbing <1392607554@qq.com> | 2016-09-28 09:18:54 +0000 |
| commit | 9cc8876255e0c13fc6ed0512f175ef0425175dd6 (patch) | |
| tree | 1e36cd05e8a8908888a84be5660cbbc10a68a48c | |
| parent | 622c88ec99c537fec3bd66d913b82ce3462e8a3a (diff) | |
| download | kolla-9cc8876255e0c13fc6ed0512f175ef0425175dd6.tar.gz kolla-9cc8876255e0c13fc6ed0512f175ef0425175dd6.zip | |
add influxdb to precheck
TrivialFix
Change-Id: I44c267f9083556ae9861298cb64afbf2af371f09
| -rw-r--r-- | ansible/roles/prechecks/tasks/port_checks.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml index 6c741cd8a..fc5ecb109 100644 --- a/ansible/roles/prechecks/tasks/port_checks.yml +++ b/ansible/roles/prechecks/tasks/port_checks.yml @@ -199,6 +199,22 @@ state: stopped when: inventory_hostname in groups['haproxy'] +- name: Checking free port for Influxdb Admin + wait_for: + host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" + port: "{{ influxdb_admin_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['influxdb'] + +- name: Checking free port for Influxdb Http + wait_for: + host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" + port: "{{ influxdb_http_port }}" + connect_timeout: 1 + state: stopped + when: inventory_hostname in groups['influxdb'] + - name: Checking free port for Keystone Admin wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" |
