Moving nomad host volume setup to its own role
This commit is contained in:
8
ansible/roles/nomad/tasks/main.yaml
Normal file
8
ansible/roles/nomad/tasks/main.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user