Comment 1 for bug 1891704

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

Reviewed: https://review.opendev.org/745071
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=16f97867a3f7050ac42fbb921310ca884e974a11
Submitter: Zuul
Branch: master

commit 16f97867a3f7050ac42fbb921310ca884e974a11
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