Merge "Performance: use import_tasks for register and bootstrap"
This commit is contained in:
commit
3316daad83
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['aodh-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: aodh_dev_mode | bool
|
when: aodh_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['aodh-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['barbican-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: barbican_dev_mode | bool
|
when: barbican_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['barbican-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['blazar-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: blazar_dev_mode | bool
|
when: blazar_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['blazar-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['ceilometer']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: ceilometer_dev_mode | bool
|
when: ceilometer_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['ceilometer']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['cinder-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: cinder_dev_mode | bool
|
when: cinder_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['cinder-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -41,6 +41,8 @@
|
|||||||
hostname: "{{ influxdb_address }}"
|
hostname: "{{ influxdb_address }}"
|
||||||
port: "{{ influxdb_http_port }}"
|
port: "{{ influxdb_http_port }}"
|
||||||
database_name: "{{ cloudkitty_influxdb_name }}"
|
database_name: "{{ cloudkitty_influxdb_name }}"
|
||||||
|
run_once: True
|
||||||
|
delegate_to: "{{ groups['cloudkitty-api'][0] }}"
|
||||||
when: cloudkitty_storage_backend == 'influxdb'
|
when: cloudkitty_storage_backend == 'influxdb'
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
- import_tasks: bootstrap_service.yml
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['cloudkitty-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: cloudkitty_dev_mode | bool
|
when: cloudkitty_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['cloudkitty-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['cyborg-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['cyborg-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,17 +1,14 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['designate-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: designate_dev_mode | bool
|
when: designate_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['designate-central']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- include_tasks: update_pools.yml
|
- import_tasks: update_pools.yml
|
||||||
when: inventory_hostname == groups['designate-worker'][0]
|
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
- name: Update DNS pools
|
- name: Update DNS pools
|
||||||
become: true
|
become: true
|
||||||
command: docker exec -t designate_worker designate-manage pool update --file /etc/designate/pools.yaml
|
command: docker exec -t designate_worker designate-manage pool update --file /etc/designate/pools.yaml
|
||||||
when: inventory_hostname == groups['designate-worker'][0]
|
run_once: True
|
||||||
|
delegate_to: "{{ groups['designate-worker'][0] }}"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['freezer-api'][0] }}"
|
delegate_to: "{{ groups['freezer-api'][0] }}"
|
||||||
when:
|
when:
|
||||||
|
- freezer_database_backend == 'mariadb'
|
||||||
- not use_preconfigured_databases | bool
|
- not use_preconfigured_databases | bool
|
||||||
|
|
||||||
- name: Creating Freezer database user and setting permissions
|
- name: Creating Freezer database user and setting permissions
|
||||||
@ -31,6 +32,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['freezer-api'][0] }}"
|
delegate_to: "{{ groups['freezer-api'][0] }}"
|
||||||
when:
|
when:
|
||||||
|
- freezer_database_backend == 'mariadb'
|
||||||
- not use_preconfigured_databases | bool
|
- not use_preconfigured_databases | bool
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
- import_tasks: bootstrap_service.yml
|
||||||
|
@ -1,17 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['freezer-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: freezer_dev_mode | bool
|
when: freezer_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: freezer_database_backend == 'mariadb' and inventory_hostname in groups['freezer-api']
|
|
||||||
|
|
||||||
- include_tasks: bootstrap_service.yml
|
|
||||||
when: inventory_hostname in groups['freezer-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['gnocchi-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['gnocchi-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['heat-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
@ -8,8 +7,7 @@
|
|||||||
when:
|
when:
|
||||||
- heat_dev_mode | bool
|
- heat_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['heat-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: enable_keystone | bool and
|
when: enable_keystone | bool
|
||||||
(inventory_hostname in groups['ironic-api'] or
|
|
||||||
inventory_hostname in groups['ironic-inspector'])
|
|
||||||
|
|
||||||
- import_tasks: config-host.yml
|
- import_tasks: config-host.yml
|
||||||
|
|
||||||
@ -11,10 +9,7 @@
|
|||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: ironic_dev_mode | bool
|
when: ironic_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['ironic-api'] or
|
|
||||||
inventory_hostname in groups['ironic-inspector'] or
|
|
||||||
inventory_hostname in groups['ironic-pxe']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['karbor-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['karbor-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['magnum-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: magnum_dev_mode | bool
|
when: magnum_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['magnum-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -2,13 +2,11 @@
|
|||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: manila_dev_mode | bool
|
when: manila_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['manila-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['manila-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['masakari-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: masakari_dev_mode | bool
|
when: masakari_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['masakari-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['mistral-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: mistral_dev_mode | bool
|
when: mistral_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['mistral-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,13 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['monasca-agent'] or
|
|
||||||
inventory_hostname in groups['monasca-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['monasca-api'] or
|
|
||||||
inventory_hostname in groups['monasca-grafana']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -30,8 +30,7 @@
|
|||||||
- inventory_hostname != groups['monasca-grafana']|first
|
- inventory_hostname != groups['monasca-grafana']|first
|
||||||
- monasca_grafana_differs['result']
|
- monasca_grafana_differs['result']
|
||||||
|
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['monasca-api']
|
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
- import_tasks: bootstrap_service.yml
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['murano-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
@ -8,8 +7,7 @@
|
|||||||
when:
|
when:
|
||||||
- murano_dev_mode | bool
|
- murano_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['murano-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['neutron-server']
|
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: neutron_dev_mode | bool
|
when: neutron_dev_mode | bool
|
||||||
@ -14,8 +13,7 @@
|
|||||||
- enable_nova_fake | bool
|
- enable_nova_fake | bool
|
||||||
- inventory_hostname in groups['compute']
|
- inventory_hostname in groups['compute']
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['neutron-server']
|
|
||||||
|
|
||||||
- name: Flush Handlers
|
- name: Flush Handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['nova-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['octavia-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: octavia_dev_mode | bool
|
when: octavia_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['octavia-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['placement-api']
|
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: placement_dev_mode | bool
|
when: placement_dev_mode | bool
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['placement-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['placement-api']
|
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: placement_dev_mode | bool
|
when: placement_dev_mode | bool
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['placement-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['qinling-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: qinling_dev_mode | bool
|
when: qinling_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['qinling-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['sahara-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: sahara_dev_mode | bool
|
when: sahara_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['sahara-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['senlin-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: senlin_dev_mode | bool
|
when: senlin_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['senlin-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['solum-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: solum_dev_mode | bool
|
when: solum_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['solum-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['tacker-server']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
@ -8,8 +7,7 @@
|
|||||||
when:
|
when:
|
||||||
- tacker_dev_mode | bool
|
- tacker_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['tacker-server']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['trove-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: trove_dev_mode | bool
|
when: trove_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['trove-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['vitrage-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: vitrage_dev_mode | bool
|
when: vitrage_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['vitrage-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['watcher-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: watcher_dev_mode | bool
|
when: watcher_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['watcher-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
---
|
---
|
||||||
- include_tasks: register.yml
|
- import_tasks: register.yml
|
||||||
when: inventory_hostname in groups['zun-api']
|
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
- include_tasks: clone.yml
|
||||||
when: zun_dev_mode | bool
|
when: zun_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- import_tasks: bootstrap.yml
|
||||||
when: inventory_hostname in groups['zun-api']
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user