homelab-nomad/ansible_playbooks/ansible_hosts.yml

81 lines
2.2 KiB
YAML
Raw Normal View History

---
all:
children:
servers:
hosts:
n1.thefij:
nomad_node_role: both
nfs_mounts:
- src: 10.50.250.2:/srv/volumes
path: /srv/volumes/moxy
opts: proto=tcp,rw
nomad_unique_host_volumes:
- name: mysql-data
path: /srv/volumes/mysql
2022-11-10 18:18:28 +00:00
owner: "999"
group: "100"
mode: "0755"
read_only: false
2022-07-27 22:57:28 +00:00
- name: lldap-data
path: /srv/volumes/lldap
owner: "root"
group: "bin"
mode: "0755"
read_only: false
2023-02-27 19:35:53 +00:00
# Moxy shared volumes
- name: nzbget-config
path: /srv/volumes/moxy/nzbget
owner: "nobody"
group: "bin"
read_only: false
n2.thefij:
nfs_mounts:
- src: 10.50.250.2:/srv/volumes
path: /srv/volumes/moxy
opts: proto=tcp,rw
2022-09-28 04:27:34 +00:00
nomad_node_class: ingress
nomad_node_role: both
nomad_unique_host_volumes:
- name: nextcloud-data
path: /srv/volumes/nextcloud
owner: "root"
group: "bin"
mode: "0755"
read_only: false
- name: gitea-data
path: /srv/volumes/gitea
owner: "root"
group: "bin"
mode: "0755"
read_only: false
- name: sonarr-data
path: /srv/volumes/sonarr
owner: "root"
group: "bin"
mode: "0755"
read_only: false
2023-02-27 19:35:53 +00:00
# Moxy shared volumes
- name: nzbget-config
path: /srv/volumes/moxy/nzbget
owner: "nobody"
group: "bin"
mode: "0755"
read_only: false
2022-09-28 04:27:34 +00:00
# n3.thefij:
# nomad_node_class: ingress
# nomad_node_role: both
# pi3:
# nomad_node_role: client
2022-11-10 18:18:37 +00:00
pi4:
nomad_node_role: both
consul_instances:
children:
servers: {}
vault_instances:
children:
servers: {}
nomad_instances:
2022-03-15 18:57:00 +00:00
children:
2022-04-15 19:11:41 +00:00
servers: {}