32 lines
618 B
YAML
32 lines
618 B
YAML
|
- name: install client packages
|
||
|
become: yes
|
||
|
community.general.pacman:
|
||
|
name:
|
||
|
- samba
|
||
|
- nfs-utils
|
||
|
|
||
|
- name: install autofs
|
||
|
shell:
|
||
|
cmd:
|
||
|
yay -S --needed --noconfirm autofs
|
||
|
when: ansible_distribution == "Archlinux"
|
||
|
|
||
|
- name: copy bender.autofs
|
||
|
become: yes
|
||
|
copy:
|
||
|
src: etc/auto.master.d/bender.autofs
|
||
|
dest: /etc/autofs/auto.master.d/bender.autofs
|
||
|
|
||
|
- name: copy auto.bender
|
||
|
become: yes
|
||
|
copy:
|
||
|
src: etc/autofs/auto.bender
|
||
|
dest: /etc/autofs/auto.bender
|
||
|
|
||
|
- name: "Enable service"
|
||
|
become: yes
|
||
|
ansible.builtin.systemd:
|
||
|
name: autofs
|
||
|
state: started
|
||
|
enabled: yes
|