Completing the state required to setup k3s
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 15s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 37s

This commit is contained in:
shockrah 2025-07-10 14:06:53 -07:00
parent 77590b067a
commit 826d334c3c
2 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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"