From 1e7085a33e12583f277ba9b7863bffecaddfb7e1 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Sat, 24 Jun 2017 13:24:32 +0100 Subject: [PATCH] Allow keystone playbook to work with limits With this adjustment, when the keystone playbook is executed using limits it will still execute all the correct tasks. Depends-On: Id2034562b3e26da56c36dd88badddf1a3b623e20 Change-Id: Iddc30e0ac1eed315c83c4bd89573a15535754157 --- playbooks/os-keystone-install.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/os-keystone-install.yml b/playbooks/os-keystone-install.yml index c938b2010b..d2c5e7feb5 100644 --- a/playbooks/os-keystone-install.yml +++ b/playbooks/os-keystone-install.yml @@ -190,7 +190,7 @@ - name: Perform the final stage of the database migrations - hosts: keystone_all[0] + hosts: keystone_all gather_facts: no user: root environment: "{{ deployment_environment_variables | default({}) }}" @@ -205,6 +205,7 @@ - "keystone_all_software_updated | bool" - "ansible_local['openstack_ansible']['keystone']['need_db_contract'] | bool" register: dbsync_contract + run_once: yes - name: Disable the need for any further db sync ini_file: