Stop managing NFS mount destinations
Systemd mount role now takes care of creating mount destinations so there is no reason to handle this manually. In addition to that, if user/group were not provided explicitly to the ones set for NFS export, role was failing with permission denied during re-run Change-Id: Ib158e14c6f296795bb1f6eabdcfc23b80cbcd871
This commit is contained in:
committed by
Dmitriy Rabotyagov
parent
ebe439abb4
commit
0af66c540f
@@ -43,15 +43,6 @@
|
||||
createhome: "yes"
|
||||
home: "{{ glance_system_user_home }}"
|
||||
|
||||
- name: Create glance NFS mount point(s)
|
||||
file:
|
||||
path: "{{ item.local_path }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
owner: "{{ item.owner | default(glance_system_user_name) }}"
|
||||
group: "{{ item.group | default(glance_system_group_name) }}"
|
||||
with_items: "{{ glance_nfs_client }}"
|
||||
|
||||
# NOTE(cloudnull): During an upgrade the local directory may exist on a source
|
||||
# install. If the directory does exist it will need to be
|
||||
# removed. This is required on source installs because the
|
||||
|
||||
Reference in New Issue
Block a user