Completing the state required to setup k3s
This commit is contained in:
parent
77590b067a
commit
826d334c3c
@ -3,10 +3,12 @@
|
||||
hosts: nigel.local
|
||||
remote_user: nigel
|
||||
tasks:
|
||||
- name: Setup basic role on nigel
|
||||
tags:
|
||||
- setup
|
||||
- nomad
|
||||
- volumes
|
||||
- name: Apply the base role to the nuc
|
||||
ansible.builtin.include_role:
|
||||
name: local-server-head
|
||||
name: base
|
||||
- name: Ensure nomad fixes are applied to the nuc
|
||||
ansible.builtin.include_role:
|
||||
name: nomad
|
||||
- name: Apply the proxy role
|
||||
ansible.builtin.include_role:
|
||||
name: proxy
|
||||
|
@ -4,15 +4,15 @@
|
||||
- name: Ensure the root data directory is present
|
||||
ansible.builtin.file:
|
||||
path: "{{ nomad.volumes.root }}"
|
||||
state: directory
|
||||
state: absent
|
||||
mode: "0755"
|
||||
- name: Ensure registry volume is present
|
||||
ansible.builtin.file:
|
||||
path: "{{ nomad.volumes.registry }}"
|
||||
state: directory
|
||||
state: absent
|
||||
mode: "0755"
|
||||
- name: Ensure the MinIO diretory is present
|
||||
ansible.builtin.file:
|
||||
path: "{{ nomad.volumes.nfs }}"
|
||||
state: directory
|
||||
state: absent
|
||||
mode: "0755"
|
||||
|
Loading…
Reference in New Issue
Block a user