Ensure that stack home is owned by stack
The role that sets up the user and its home folder must ensure that the home folder is owned by stack as well. Change-Id: I2e72d7b9d68a2a14f8a148ef82cbb3f569bd1cea
This commit is contained in:
parent
af43b82502
commit
acca80414f
@ -21,10 +21,12 @@
|
||||
group: stack
|
||||
become: yes
|
||||
|
||||
- name: Set stack user home directory permissions
|
||||
- name: Set stack user home directory permissions and ownership
|
||||
file:
|
||||
path: '{{ devstack_stack_home_dir }}'
|
||||
mode: 0755
|
||||
owner: stack
|
||||
group: stack
|
||||
become: yes
|
||||
|
||||
- name: Copy 50_stack_sh file to /etc/sudoers.d
|
||||
@ -36,7 +38,7 @@
|
||||
group: root
|
||||
become: yes
|
||||
|
||||
- name: Create new/.cache folder within BASE
|
||||
- name: Create .cache folder within BASE
|
||||
file:
|
||||
path: '{{ devstack_stack_home_dir }}/.cache'
|
||||
state: directory
|
||||
|
Loading…
Reference in New Issue
Block a user