fixed cifs permissions, added cifs to nextcloud for persistent data
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
register: cloud_owner
|
||||
tags: cloud
|
||||
|
||||
- name: mount cloud cifs
|
||||
become: true
|
||||
ansible.posix.mount:
|
||||
src: "{{ cloud_cifs_src }}"
|
||||
path: "{{ cloud_path }}/data"
|
||||
fstype: cifs
|
||||
opts: "username=cloud,password={{ cloud_cifs_pass }},uid={{ cloud_owner.stat.uid }},gid={{ cloud_owner.stat.uid }}"
|
||||
state: mounted
|
||||
tags: cloud
|
||||
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
tags: cloud
|
||||
|
||||
Reference in New Issue
Block a user