Comment 2 for bug 2039682

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/898738
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/549a7cec8d2714e9953a5d15ef367ebf1723ff9e
Submitter: "Zuul (22348)"
Branch: master

commit 549a7cec8d2714e9953a5d15ef367ebf1723ff9e
Author: Joseph Vazhappilly <email address hidden>
Date: Wed Oct 18 08:42:00 2023 -0400

    Support 'exclude_dirs' for dc-vault backup

    When performing a backup, the option 'exclude_dirs' may be
    specified to exclude directories from backup. Currently this
    option is supported only in platform backup. This change
    adds support for 'exclude_dirs' option for dc-vault &
    openstack backup. Some directories like /opt/dc-vault are
    restricted from exclusion as it is required for phased
    operations.

    Example usage: ansible-playbook /usr/share/ansible/\
    stx-ansible/playbooks/backup.yml \
    -e 'ansible_become_pass=<> admin_password=<>' \
    -e "exclude_dirs=/opt/dc-vault/backups/**,/opt/dc-vault/loads"

    Test Plan:
    PASS: Verify backup playbook with & without 'exclude_dirs'
    PASS: Verify dc-vault & openstack backup contents
    PASS: Verify Backup and Restore from DC System Controller
    PASS: Verify restricted directories are not excluded

    Closes-Bug: 2039682

    Change-Id: I15bba7b45e83a4a301ab72808a3e4dc1712976cb
    Signed-off-by: Joseph Vazhappilly <email address hidden>