Merge "Add Ansible group check to prechecks"
This commit is contained in:
commit
87984f5425
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ aodh_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ barbican_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ blazar_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ ceilometer_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Checking gnocchi backend for ceilometer
|
- name: Checking gnocchi backend for ceilometer
|
||||||
fail:
|
fail:
|
||||||
msg: "gnocchi is required but not enabled"
|
msg: "gnocchi is required but not enabled"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ chrony_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
# TODO(Jeffrey4l), need check whether udp 123 port is used. But there is no
|
# TODO(Jeffrey4l), need check whether udp 123 port is used. But there is no
|
||||||
# module to do this now.
|
# module to do this now.
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ cinder_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ cloudkitty_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ collectd_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ common_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ congress_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ cyborg_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ designate_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ elasticsearch_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ etcd_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ freezer_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ glance_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ gnocchi_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ grafana_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ haproxy_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ heat_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ horizon_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ influxdb_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ ironic_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ iscsi_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ kafka_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ karbor_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ keystone_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ kibana_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ kuryr_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ magnum_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ manila_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ mariadb_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ masakari_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ memcached_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ mistral_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ monasca_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ mongodb_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ multipathd_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ murano_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ neutron_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ nova_cell_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ nova_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ octavia_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ openvswitch_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ ovsdpdk_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ panko_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ placement_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ prometheus_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ qdrouterd_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ qinling_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ rabbitmq_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ rally_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ redis_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ sahara_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ searchlight_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ senlin_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
5
ansible/roles/service-precheck/defaults/main.yml
Normal file
5
ansible/roles/service-precheck/defaults/main.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
# Common role for prechecks.
|
||||||
|
|
||||||
|
# Dict of services.
|
||||||
|
service_precheck_services: {}
|
15
ansible/roles/service-precheck/tasks/main.yml
Normal file
15
ansible/roles/service-precheck/tasks/main.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: "{{ project_name }} | Validate inventory groups"
|
||||||
|
vars:
|
||||||
|
service_name: "{{ item.key }}"
|
||||||
|
service: "{{ item.value }}"
|
||||||
|
fail:
|
||||||
|
msg: >-
|
||||||
|
Ansible inventory does not contain the expected group {{ service.group }}
|
||||||
|
for service {{ service_name }} in {{ project_name }}.
|
||||||
|
loop: "{{ query('dict', service_precheck_services) }}"
|
||||||
|
when:
|
||||||
|
- "'group' in service"
|
||||||
|
- service.group not in groups
|
||||||
|
loop_control:
|
||||||
|
label: "{{ service_name }}"
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ skydive_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ solum_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ storm_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ swift_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ tacker_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ telegraf_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ tempest_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ trove_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ vitrage_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ vmtp_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ watcher_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ zookeeper_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
- import_role:
|
||||||
|
name: service-precheck
|
||||||
|
vars:
|
||||||
|
service_precheck_services: "{{ zun_services }}"
|
||||||
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Get container facts
|
- name: Get container facts
|
||||||
become: true
|
become: true
|
||||||
kolla_container_facts:
|
kolla_container_facts:
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds new checks to ``kolla-ansible prechecks`` that validate that expected
|
||||||
|
Ansible groups exist.
|
Loading…
Reference in New Issue
Block a user