feat: manage all nomad folder creation on build
This commit is contained in:
parent
49a8a427f7
commit
7244ceb5b1
@ -1,7 +1,39 @@
|
||||
NAS_nomad_folder:
|
||||
- name: actualbudget
|
||||
- name: archiso
|
||||
- name: backup
|
||||
- name: borgmatic
|
||||
- name: crowdsec
|
||||
- name: dms
|
||||
- name: filestash
|
||||
- name: gitea
|
||||
- name: grafana
|
||||
- name: hass
|
||||
- name: homer
|
||||
- name: immich/cache
|
||||
- name: immich/upload
|
||||
- name: jellyfin
|
||||
- name: loki
|
||||
_ name: mealie
|
||||
- name: mosquito
|
||||
owner: 1883
|
||||
- name: pacoloco
|
||||
- name: pdns-auth
|
||||
- name: pdns-admin
|
||||
- name: pihole
|
||||
owner: 999
|
||||
- name: prometheus
|
||||
- name: prowlarr
|
||||
- name: radicale
|
||||
- name: openldap
|
||||
owner: 1001
|
||||
|
||||
- name: registry/ghcr
|
||||
- name: registry/docker
|
||||
- name: syncthing
|
||||
- name: traefik
|
||||
- name: tt-rss
|
||||
- name: vaultwarden
|
||||
- name: zigbee2mqtt
|
||||
nas_bind_target: "/exports"
|
||||
|
||||
nas_bind_source:
|
||||
|
@ -13,7 +13,7 @@
|
||||
- name: create nomad folder
|
||||
ansible.builtin.file:
|
||||
path: "{{ nas_bind_target }}/nomad/{{ item.name }}"
|
||||
owner: "{{ item.owner }}"
|
||||
owner: "{{ item.owner|default('root') }}"
|
||||
state: directory
|
||||
become: true
|
||||
loop: "{{ NAS_nomad_folder }}"
|
||||
|
Loading…
Reference in New Issue
Block a user