Add task to link external media mount dir into user home directory
This commit is contained in:
parent
11235ab859
commit
eb2ad9e60a
|
@ -133,3 +133,12 @@
|
||||||
owner: "{{ item }}"
|
owner: "{{ item }}"
|
||||||
group: "{{ item }}"
|
group: "{{ item }}"
|
||||||
loop: "{{ _local_human_users }}"
|
loop: "{{ _local_human_users }}"
|
||||||
|
|
||||||
|
- name: Link external media directory
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: ~{{ item }}/Drives
|
||||||
|
src: /run/media/{{ item }}
|
||||||
|
state: link
|
||||||
|
force: true
|
||||||
|
loop: "{{ _local_human_users }}"
|
||||||
|
|
Reference in New Issue