2022-12-10 10:07:18 +00:00
|
|
|
---
|
2024-01-13 17:34:04 +00:00
|
|
|
- name: gather all
|
|
|
|
hosts: all
|
2024-01-13 17:32:02 +00:00
|
|
|
- name: NAS playbook
|
|
|
|
hosts: NAS
|
2022-12-10 10:07:18 +00:00
|
|
|
vars:
|
|
|
|
# certbot_force: true
|
2024-01-13 17:32:02 +00:00
|
|
|
pre_tasks:
|
2024-02-29 20:36:35 +00:00
|
|
|
- name: include task NasBind
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: tasks/NasBind.yml
|
2024-02-20 18:31:36 +00:00
|
|
|
loop: "{{ nas_bind_source }}"
|
2024-02-13 19:25:30 +00:00
|
|
|
- name: create nomad folder
|
2024-02-20 18:31:36 +00:00
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ nas_bind_target }}/nomad/{{ item.name }}"
|
|
|
|
owner: "{{ item.owner }}"
|
2024-02-13 19:25:30 +00:00
|
|
|
state: directory
|
|
|
|
loop: "{{ NAS_nomad_folder }}"
|
2022-12-10 10:07:18 +00:00
|
|
|
roles:
|
2024-02-24 16:14:08 +00:00
|
|
|
- role: ansible-role-nut
|
2024-02-26 17:54:54 +00:00
|
|
|
become: true
|
2024-01-13 17:32:02 +00:00
|
|
|
- role: ansible-role-nfs
|
2023-11-15 18:24:32 +00:00
|
|
|
become: true
|
2024-01-13 17:32:02 +00:00
|
|
|
- role: ansible-role-vsftpd
|
2023-11-15 18:24:32 +00:00
|
|
|
become: true
|
2024-02-13 19:31:56 +00:00
|
|
|
- role: vladgh.samba.server
|
|
|
|
become: true
|