infra/ansible/roles/nomad/tasks/main.yaml
shockrah be34327791
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 18s
Moving nomad host volume setup to its own role
2025-05-25 22:56:07 -07:00

8 lines
259 B
YAML

- name: Ensure the root data directory is present
ansible.builtin.file:
path: "{{ nomad.volumes.root }}"
state: directory
- name: Ensure registry volume is present
ansible.builtin.file:
path: "{{ nomad.volumes.registry }}"
state: directory