19 lines
557 B
YAML
19 lines
557 B
YAML
- name: Nomad server configuration
|
|
become: true
|
|
block:
|
|
- name: Ensure the root data directory is present
|
|
ansible.builtin.file:
|
|
path: "{{ nomad.volumes.root }}"
|
|
state: directory
|
|
mode: "0755"
|
|
- name: Ensure registry volume is present
|
|
ansible.builtin.file:
|
|
path: "{{ nomad.volumes.registry }}"
|
|
state: directory
|
|
mode: "0755"
|
|
- name: Ensure the MinIO diretory is present
|
|
ansible.builtin.file:
|
|
path: "{{ nomad.volumes.nfs }}"
|
|
state: directory
|
|
mode: "0755"
|