ansible-desktop/roles/autofs/tasks/arch.yml

32 lines
618 B
YAML
Raw Normal View History

2023-08-26 21:57:26 +00:00
- 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