Skip to content
Snippets Groups Projects
  • likui's avatar
    16f97867
    Fix ownership and permissions of admin-openrc.sh · 16f97867
    likui authored
    
    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: default avatarMark Goddard <mark@stackhpc.com>
    
    Closes-Bug: #1891704
    
    Change-Id: Iadf43383a7f2bf377d4666a55a38d92bd70711aa
    16f97867
    History
    Fix ownership and permissions of admin-openrc.sh
    likui authored
    
    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: default avatarMark Goddard <mark@stackhpc.com>
    
    Closes-Bug: #1891704
    
    Change-Id: Iadf43383a7f2bf377d4666a55a38d92bd70711aa