Configure kolla-ansible before pulling container images

This commit is contained in:
Mark Goddard 2017-09-20 15:47:45 +01:00
parent 141c765eb1
commit 50ca4ab33b

View File

@ -889,6 +889,10 @@ class OvercloudContainerImagePull(KayobeAnsibleMixin, KollaAnsibleMixin,
def take_action(self, parsed_args):
self.app.LOG.debug("Pulling overcloud container images")
# First prepare configuration.
playbooks = _build_playbook_list("kolla-ansible")
self.run_kayobe_playbooks(parsed_args, playbooks tags="config")
# Pull updated kolla container images.
self.run_kolla_ansible_overcloud(parsed_args, "pull")