Files
infra/ansible/roles/nomad/tasks/main.yaml
shockrah fbe6e5c3e2
Some checks failed
Ansible Linting / build (push) Failing after 16s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 18s
Wiki Resources Sanity Checks / ruff-checks (push) Successful in 7s
Removing all ansible-linter errors
2026-04-26 01:35:56 -07:00

19 lines
562 B
YAML

- name: Nomad server configuration
become: true
block:
- name: Ensure the root data directory is present
ansible.builtin.file:
path: "{{ nomad_data.volumes.root }}"
state: absent
mode: "0755"
- name: Ensure registry volume is present
ansible.builtin.file:
path: "{{ nomad_data.volumes.registry }}"
state: absent
mode: "0755"
- name: Ensure the MinIO diretory is present
ansible.builtin.file:
path: "{{ nomad_data.volumes.nfs }}"
state: absent
mode: "0755"