Comment 5 for bug 1891704

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/747426
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=7f2b169627d7a936da182b4128ac34e6d5bece6d
Submitter: Zuul
Branch: stable/stein

commit 7f2b169627d7a936da182b4128ac34e6d5bece6d
Author: likui <email address hidden>
Date: Thu Aug 6 14:12:44 2020 +0800

    Fix ownership and permissions of admin-openrc.sh

    Previously the post-deploy.yml playbook was executed with become: true,
    and the admin-openrc.sh file templated without an owner or mode
    specified. This resulted in admin-openrc.sh being owned by root with 644
    permissions.

    This change creates the file without become: true, and explicitly sets
    the owner to the user executing Ansible, and the mode to 600.

    Co-Authored-By: Mark Goddard <email address hidden>

    Closes-Bug: #1891704

    Change-Id: Iadf43383a7f2bf377d4666a55a38d92bd70711aa
    (cherry picked from commit 16f97867a3f7050ac42fbb921310ca884e974a11)