Feat(Choux): autofs for Raisin
This commit is contained in:
parent
68e33722ea
commit
9f4a8ba668
1
files/autofs.raisin
Normal file
1
files/autofs.raisin
Normal file
@ -0,0 +1 @@
|
|||||||
|
raisin_doc -fstype=cifs ://Raisin/Tosh500G
|
@ -35,6 +35,7 @@
|
|||||||
- fzf
|
- fzf
|
||||||
- ntfs-3g
|
- ntfs-3g
|
||||||
- git-annex
|
- git-annex
|
||||||
|
- cifs-utils
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- first_deployement
|
- first_deployement
|
||||||
@ -81,6 +82,11 @@
|
|||||||
become: yes
|
become: yes
|
||||||
become_user: aur_builder
|
become_user: aur_builder
|
||||||
|
|
||||||
|
- name: Init Samba (empty config)
|
||||||
|
file:
|
||||||
|
path: /etc/samba/smb.conf
|
||||||
|
state: file
|
||||||
|
|
||||||
# - name: Install Tmuxinator
|
# - name: Install Tmuxinator
|
||||||
# aur:
|
# aur:
|
||||||
# name: "{{ item }}"
|
# name: "{{ item }}"
|
||||||
|
@ -6,18 +6,18 @@
|
|||||||
|
|
||||||
- name: Create NAS share directory
|
- name: Create NAS share directory
|
||||||
file:
|
file:
|
||||||
path: /media/Songe
|
path: /media/Raisin
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Activate NAS shares for autofs
|
- name: Activate NAS shares for autofs
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/autofs/auto.master
|
path: /etc/autofs/auto.master
|
||||||
line: '/media/Songe /etc/autofs/auto.songe --timeout=60'
|
line: '/media/Raisin /etc/autofs/auto.raisin --timeout=60'
|
||||||
|
|
||||||
- name: NAS autofs config file
|
- name: NAS autofs config file
|
||||||
template:
|
template:
|
||||||
src: files/autofs.songe
|
src: files/autofs.raisin
|
||||||
dest: /etc/autofs/auto.songe
|
dest: /etc/autofs/auto.raisin
|
||||||
|
|
||||||
- name: Enable autofs daemon
|
- name: Enable autofs daemon
|
||||||
service:
|
service:
|
||||||
|
Loading…
Reference in New Issue
Block a user