fix blazar error in deployment
when deploy this project,it report an error " blazar_policy_jsons" not found, which result in faild. this ps to fix it Change-Id: Ifa4c0f33642e355be8849f2298d4a73c5e6c602c
This commit is contained in:
parent
2ca94a62d1
commit
373416658a
@ -5,7 +5,7 @@
|
|||||||
service: "{{ blazar_services[service_name] }}"
|
service: "{{ blazar_services[service_name] }}"
|
||||||
config_json: "{{ blazar_config_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
config_json: "{{ blazar_config_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
blazar_conf: "{{ blazar_confs.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
blazar_conf: "{{ blazar_confs.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
policy_json: "{{ blazar_policy_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
policy_overwriting: "{{ blazar_policy_overwriting.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
blazar_api_container: "{{ check_blazar_containers.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
blazar_api_container: "{{ check_blazar_containers.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
@ -19,7 +19,7 @@
|
|||||||
- service.enabled | bool
|
- service.enabled | bool
|
||||||
- config_json.changed | bool
|
- config_json.changed | bool
|
||||||
or blazar_conf.changed | bool
|
or blazar_conf.changed | bool
|
||||||
or policy_json.changed | bool
|
or policy_overwriting | bool
|
||||||
or blazar_api_container.changed | bool
|
or blazar_api_container.changed | bool
|
||||||
|
|
||||||
- name: Restart blazar-manager container
|
- name: Restart blazar-manager container
|
||||||
@ -28,7 +28,7 @@
|
|||||||
service: "{{ blazar_services[service_name] }}"
|
service: "{{ blazar_services[service_name] }}"
|
||||||
config_json: "{{ blazar_config_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
config_json: "{{ blazar_config_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
blazar_conf: "{{ blazar_confs.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
blazar_conf: "{{ blazar_confs.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
policy_json: "{{ blazar_policy_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
policy_overwriting: "{{ blazar_policy_overwriting.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
blazar_manager_container: "{{ check_blazar_containers.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
blazar_manager_container: "{{ check_blazar_containers.results|selectattr('item.key', 'equalto', service_name)|first }}"
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
@ -42,5 +42,5 @@
|
|||||||
- service.enabled | bool
|
- service.enabled | bool
|
||||||
- config_json.changed | bool
|
- config_json.changed | bool
|
||||||
or blazar_conf.changed | bool
|
or blazar_conf.changed | bool
|
||||||
or policy_json.changed | bool
|
or policy_overwriting.changed | bool
|
||||||
or blazar_manager_container.changed | bool
|
or blazar_manager_container.changed | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user