Re-import Murano core library on upgrade

Change-Id: Ia3f7ed7e3ce74effb04d756ff39fb4b0328b617e
Closes-Bug: #1649606
This commit is contained in:
Vladislav Belogrudov 2016-12-13 19:13:35 +03:00
parent aea8be563a
commit abf4ef9eb3

View File

@ -60,8 +60,8 @@
{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3 \
--murano-url \
{{ admin_protocol }}://{{ api_interface_address }}:{{ murano_api_port }} \
package-import --is-public /io.murano.zip"
package-import --exists-action u --is-public /io.murano.zip"
run_once: True
delegate_to: "{{ groups['murano-api'][0] }}"
when:
- status.stdout.find("io.murano") == -1
- status.stdout.find("io.murano") == -1 or action == "upgrade"