From c406a5cb24eb1a65a4074cf99966553312a963f7 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Fri, 2 Nov 2018 21:46:04 +0100 Subject: [PATCH] Drop UUID token tasks Fernet is the new standard and UUID tokens were removed in Rocky. Change-Id: I6a5554dec3abfd148e3e8e3c74274a46239d16b4 --- tasks/keystone_token_cleanup.yml | 22 ---------------------- tasks/main.yml | 7 ------- 2 files changed, 29 deletions(-) delete mode 100644 tasks/keystone_token_cleanup.yml diff --git a/tasks/keystone_token_cleanup.yml b/tasks/keystone_token_cleanup.yml deleted file mode 100644 index 14fa2081..00000000 --- a/tasks/keystone_token_cleanup.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -# Copyright 2014, Rackspace US, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -- name: Add keystone token_flush cron job - cron: - name: "Clear out stale keystone tokens" - minute: 0 - job: "{{ keystone_bin }}/keystone-manage token_flush" - user: "{{ keystone_system_user_name }}" - delegate_to: "{{ groups['keystone_all'][0] }}" diff --git a/tasks/main.yml b/tasks/main.yml index 00cf414c..e98452b7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -111,13 +111,6 @@ tags: - keystone-config -- include_tasks: keystone_token_cleanup.yml - when: - - "'uuid' in keystone_token_provider" - run_once: yes - tags: - - keystone-install - - include_tasks: keystone_ssl.yml tags: - keystone-config