From f66eca27d32fefc334d5b0f90c64f551e9b19116 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Tue, 30 Oct 2018 10:25:41 -0700 Subject: [PATCH] Do not remove SSO callback template file In distro installs, the SSO callback template file is created in /etc/keystone. The 'Retrieve default configuration files from venv' task copies it from there to a cache folder. If 'keystone_sp' is not provided the file is being removed, which causes a subsequent run of the role to fail. Change-Id: I05df4c2a5f57c7437c008dd73a31b7eda2c3e281 --- tasks/keystone_post_install.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tasks/keystone_post_install.yml b/tasks/keystone_post_install.yml index fc47f4a8..fd8cb0bd 100644 --- a/tasks/keystone_post_install.yml +++ b/tasks/keystone_post_install.yml @@ -103,14 +103,3 @@ - Manage LB - Restart uWSGI - Restart web server - -- name: Clean up Keystone Federation SP SSO callback template - file: - path: "/etc/keystone/sso_callback_template.html" - state: absent - when: - - keystone_sp == {} - notify: - - Manage LB - - Restart uWSGI - - Restart web server