homelab/ansible/playbooks/nas.yml
2024-01-13 18:32:02 +01:00

21 lines
441 B
YAML

---
- name: NAS playbook
hosts: NAS
vars:
# certbot_force: true
pre_tasks:
- name: Bind NFS export
ansible.posix.mount:
path: "{{ nfs_bind_target }}/{{ item.split('/')[-1] }}"
src: "{{ items }}"
opts: bind
fstype: none
state: mounted
loop: nfs_bind_source
roles:
- role: ansible-role-nfs
become: true
- role: ansible-role-vsftpd
become: true
#- samba