Added tar option to preserve metadata of existing fetch_dir
Added tar option to allow the current user to unpack local
or downloaded data (from swift) into ceph-ansible/fetch_dir,
preserving the existing metadata.
Added also a "/*" as trailing character on the *path field* of
the *archive* ansible task to create a tar.gz containing all
the fetch_dir content whithout including the parent directory
in the resulting path: in this way we should be able to avoid
nested fetch_dir.
1. Added a step to fix broken environment excluding the nested
fetch_dir from the archive sections;
2. Added a new task to delete from filesystem the nested
section to make everything clean: this task is executed
according to the output of the previous one (the archive task).
Change-Id: I45c394bd6b5c09730399202b476ed913e8f334c0
Related-Bug: 1816094
(cherry picked from commit 548f54b39d1e5f895af16b93646e9e7925ffd488)
Reviewed: https:/ /review. openstack. org/640720 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=5baa88d94e2 5f887da7a2f7f81 03d52795b340ec
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 5baa88d94e25f88 7da7a2f7f8103d5 2795b340ec
Author: fpantano <email address hidden>
Date: Mon Feb 18 13:39:10 2019 +0100
Added tar option to preserve metadata of existing fetch_dir
Added tar option to allow the current user to unpack local fetch_dir,
or downloaded data (from swift) into ceph-ansible/
preserving the existing metadata.
Added also a "/*" as trailing character on the *path field* of
the *archive* ansible task to create a tar.gz containing all
the fetch_dir content whithout including the parent directory
in the resulting path: in this way we should be able to avoid
nested fetch_dir.
1. Added a step to fix broken environment excluding the nested
fetch_dir from the archive sections;
2. Added a new task to delete from filesystem the nested
section to make everything clean: this task is executed
according to the output of the previous one (the archive task).
Change-Id: I45c394bd6b5c09 730399202b476ed 913e8f334c0 95af16b93646e9e 7925ffd488)
Related-Bug: 1816094
(cherry picked from commit 548f54b39d1e5f8