.. _workbook-rename_ceph_ansible_fetch_directory:

============================================
Rename ceph ansible fetch directory Workbook
============================================

:Workbook name: tripleo.rename_ceph_ansible_fetch_directory.v1

TripleO rename ceph-ansible fetch directory backup in Swift Workflow v1

Workflows in the Rename ceph ansible fetch directory Workbook

.. object:: tripleo.rename_ceph_ansible_fetch_directory.v1.check_and_rename

   If the name of the tarball containing the ceph-ansible fetch directory matches the format found in Queens, then rename it to match the format expected in Rocky. I.e if temporary_dir-20180915-191756.tar.gz is found then rename it to temporary_dir.tar.gz. This workflow is idempotent and should be run before upgrading from Queens to Rocky.



   Workflow inputs:

   :input {'container': 'overcloud'}: Required.
   :input {'queue_name': 'tripleo'}: Required.
   :input {'container_suffix': '_ceph_ansible_fetch_dir'}: Required.
   :input {'swift_tar': 'temporary_dir.tar.gz'}: Required.
