update..
This commit is contained in:
		| @@ -14,15 +14,15 @@ | ||||
|   when: | ||||
|     - item.is_samba_user is defined and item.is_samba_user|bool | ||||
|  | ||||
| - name: (mount_samba_shares.yml) Ensure (user separated) mount directories for samba shares exists | ||||
|   file: | ||||
|     path: "/mnt/{{ item.1 }}/{{ item.0.name }}" | ||||
|     owner: "{{ item.1 }}" | ||||
|     group: "{{ item.1 }}" | ||||
|     mode: '0770' | ||||
|     state: directory | ||||
|   with_subelements:  | ||||
|     - "{{ samba_shares }}" | ||||
|     - user | ||||
|   loop_control: | ||||
|     label: '{{ item.1 }} share: {{ item.0.name }}' | ||||
| #- name: (mount_samba_shares.yml) Ensure (user separated) mount directories for samba shares exists | ||||
| #  file: | ||||
| #    path: "/mnt/{{ item.1 }}/{{ item.0.name }}" | ||||
| #    owner: "{{ item.1 }}" | ||||
| #    group: "{{ item.1 }}" | ||||
| #    mode: '0770' | ||||
| #    state: directory | ||||
| #  with_subelements:  | ||||
| #    - "{{ samba_shares }}" | ||||
| #    # - user | ||||
| #  loop_control: | ||||
| #    label: '{{ item.1 }} share: {{ item.0.name }}' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user