Use "name:" instead of "role:" for *_role modules
Both include_role and import_role expect role's name to be given via "name" param instead of "role". This worked but caused errors with ansible-lint. See: https://review.opendev.org/694779 Change-Id: I388d4ae27111e430d38df1abcb6c6127d90a06e0
This commit is contained in:
parent
9995f2d89d
commit
266fd61ad7
@ -194,7 +194,7 @@
|
|||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
role: nova-cell
|
name: nova-cell
|
||||||
tasks_from: reload
|
tasks_from: reload
|
||||||
when:
|
when:
|
||||||
- enable_nova | bool
|
- enable_nova | bool
|
||||||
@ -236,7 +236,7 @@
|
|||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
role: nova
|
name: nova
|
||||||
tasks_from: online_data_migrations
|
tasks_from: online_data_migrations
|
||||||
when:
|
when:
|
||||||
- enable_nova | bool
|
- enable_nova | bool
|
||||||
@ -259,7 +259,7 @@
|
|||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
role: nova-cell
|
name: nova-cell
|
||||||
tasks_from: online_data_migrations
|
tasks_from: online_data_migrations
|
||||||
when:
|
when:
|
||||||
- enable_nova | bool
|
- enable_nova | bool
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ aodh_services }}"
|
project_services: "{{ aodh_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ barbican_services }}"
|
project_services: "{{ barbican_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ barbican_services }}"
|
project_services: "{{ barbican_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ blazar_services }}"
|
project_services: "{{ blazar_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ blazar_services }}"
|
project_services: "{{ blazar_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ ceilometer_services }}"
|
project_services: "{{ ceilometer_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ chrony_services }}"
|
project_services: "{{ chrony_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cinder_services }}"
|
project_services: "{{ cinder_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cinder_services }}"
|
project_services: "{{ cinder_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cloudkitty_services }}"
|
project_services: "{{ cloudkitty_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cloudkitty_services }}"
|
project_services: "{{ cloudkitty_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ collectd_services }}"
|
project_services: "{{ collectd_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ common_services }}"
|
project_services: "{{ common_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ congress_services }}"
|
project_services: "{{ congress_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ congress_services }}"
|
project_services: "{{ congress_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cyborg_services }}"
|
project_services: "{{ cyborg_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cyborg_services }}"
|
project_services: "{{ cyborg_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ designate_services }}"
|
project_services: "{{ designate_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ designate_services }}"
|
project_services: "{{ designate_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ elasticsearch_services }}"
|
project_services: "{{ elasticsearch_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ elasticsearch_services }}"
|
project_services: "{{ elasticsearch_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ etcd_services }}"
|
project_services: "{{ etcd_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ freezer_services }}"
|
project_services: "{{ freezer_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ freezer_services }}"
|
project_services: "{{ freezer_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ glance_services }}"
|
project_services: "{{ glance_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ glance_services }}"
|
project_services: "{{ glance_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ gnocchi_services }}"
|
project_services: "{{ gnocchi_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ gnocchi_services }}"
|
project_services: "{{ gnocchi_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ grafana_services }}"
|
project_services: "{{ grafana_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ grafana_services }}"
|
project_services: "{{ grafana_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
- name: Load and persist keepalived module
|
- name: Load and persist keepalived module
|
||||||
import_role:
|
import_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- {'name': ip_vs }
|
- {'name': ip_vs }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ haproxy_services }}"
|
project_services: "{{ haproxy_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ heat_services }}"
|
project_services: "{{ heat_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ heat_services }}"
|
project_services: "{{ heat_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ horizon_services }}"
|
project_services: "{{ horizon_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ horizon_services }}"
|
project_services: "{{ horizon_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ influxdb_services }}"
|
project_services: "{{ influxdb_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ influxdb_services }}"
|
project_services: "{{ influxdb_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Load and persist iscsi_tcp module
|
- name: Load and persist iscsi_tcp module
|
||||||
import_role:
|
import_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- {'name': iscsi_tcp}
|
- {'name': iscsi_tcp}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ ironic_services }}"
|
project_services: "{{ ironic_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ ironic_services }}"
|
project_services: "{{ ironic_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Load and persist configfs module
|
- name: Load and persist configfs module
|
||||||
import_role:
|
import_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- name: configfs
|
- name: configfs
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ iscsi_services }}"
|
project_services: "{{ iscsi_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ kafka_services }}"
|
project_services: "{{ kafka_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ karbor_services }}"
|
project_services: "{{ karbor_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ karbor_services }}"
|
project_services: "{{ karbor_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ keystone_services }}"
|
project_services: "{{ keystone_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ keystone_services }}"
|
project_services: "{{ keystone_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ kibana_services }}"
|
project_services: "{{ kibana_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ kibana_services }}"
|
project_services: "{{ kibana_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ kuryr_services }}"
|
project_services: "{{ kuryr_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ magnum_services }}"
|
project_services: "{{ magnum_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ magnum_services }}"
|
project_services: "{{ magnum_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ manila_services }}"
|
project_services: "{{ manila_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ manila_services }}"
|
project_services: "{{ manila_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mariadb_services }}"
|
project_services: "{{ mariadb_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mariadb_services }}"
|
project_services: "{{ mariadb_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ masakari_services }}"
|
project_services: "{{ masakari_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ masakari_services }}"
|
project_services: "{{ masakari_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ memcached_services }}"
|
project_services: "{{ memcached_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ memcached_services }}"
|
project_services: "{{ memcached_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mistral_services }}"
|
project_services: "{{ mistral_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mistral_services }}"
|
project_services: "{{ mistral_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ monasca_services }}"
|
project_services: "{{ monasca_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ monasca_services }}"
|
project_services: "{{ monasca_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mongodb_services }}"
|
project_services: "{{ mongodb_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ mongodb_services }}"
|
project_services: "{{ mongodb_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Load and persist dm-multipath module
|
- name: Load and persist dm-multipath module
|
||||||
import_role:
|
import_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- {'name': dm-multipath}
|
- {'name': dm-multipath}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ multipathd_services }}"
|
project_services: "{{ multipathd_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ murano_services }}"
|
project_services: "{{ murano_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ murano_services }}"
|
project_services: "{{ murano_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Load and persist ip6_tables module
|
- name: Load and persist ip6_tables module
|
||||||
include_role:
|
include_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- {'name': ip6_tables}
|
- {'name': ip6_tables}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ neutron_services }}"
|
project_services: "{{ neutron_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ neutron_services }}"
|
project_services: "{{ neutron_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# Configure HAProxy for one cell for a particular console proxy type.
|
# Configure HAProxy for one cell for a particular console proxy type.
|
||||||
- import_role:
|
- import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ cell_proxy_project_services | namespace_haproxy_for_cell(cell_name) }}"
|
project_services: "{{ cell_proxy_project_services | namespace_haproxy_for_cell(cell_name) }}"
|
||||||
# Default is necessary because this play may not be targetting the hosts in
|
# Default is necessary because this play may not be targetting the hosts in
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ nova_cell_services }}"
|
project_services: "{{ nova_cell_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ nova_services }}"
|
project_services: "{{ nova_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ nova_services }}"
|
project_services: "{{ nova_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ octavia_services }}"
|
project_services: "{{ octavia_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ octavia_services }}"
|
project_services: "{{ octavia_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Load and persist openvswitch module
|
- name: Load and persist openvswitch module
|
||||||
import_role:
|
import_role:
|
||||||
role: module-load
|
name: module-load
|
||||||
vars:
|
vars:
|
||||||
modules:
|
modules:
|
||||||
- {'name': openvswitch}
|
- {'name': openvswitch}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ openvswitch_services }}"
|
project_services: "{{ openvswitch_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ ovsdpdk_services }}"
|
project_services: "{{ ovsdpdk_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ panko_services }}"
|
project_services: "{{ panko_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ panko_services }}"
|
project_services: "{{ panko_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ placement_services }}"
|
project_services: "{{ placement_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ placement_services }}"
|
project_services: "{{ placement_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ prometheus_services }}"
|
project_services: "{{ prometheus_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ prometheus_services }}"
|
project_services: "{{ prometheus_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ qdrouterd_services }}"
|
project_services: "{{ qdrouterd_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ qinling_services }}"
|
project_services: "{{ qinling_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ qinling_services }}"
|
project_services: "{{ qinling_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ rabbitmq_services }}"
|
project_services: "{{ rabbitmq_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ rabbitmq_services }}"
|
project_services: "{{ rabbitmq_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ rally_services }}"
|
project_services: "{{ rally_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ redis_services }}"
|
project_services: "{{ redis_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ sahara_services }}"
|
project_services: "{{ sahara_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_role:
|
- import_role:
|
||||||
role: service-stop
|
name: service-stop
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ sahara_services }}"
|
project_services: "{{ sahara_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: "Configure haproxy for {{ project_name }}"
|
- name: "Configure haproxy for {{ project_name }}"
|
||||||
import_role:
|
import_role:
|
||||||
role: haproxy-config
|
name: haproxy-config
|
||||||
vars:
|
vars:
|
||||||
project_services: "{{ searchlight_services }}"
|
project_services: "{{ searchlight_services }}"
|
||||||
tags: always
|
tags: always
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user