homelab-nomad/ansible_playbooks/test_ansible_hosts.yml

56 lines
1.4 KiB
YAML

---
all:
children:
servers:
hosts:
tn1.thefij:
test_prod_vm: n1
test_ip_address: 192.168.2.201
nomad_node_role: both
nomad_unique_host_volumes:
- name: mysql-data
path: /srv/volumes/mysql
owner: "999"
group: "100"
mode: "0755"
read_only: false
- name: postgres-data
path: /srv/volumes/postgres
owner: "999"
group: "999"
mode: "0755"
read_only: false
tn2.thefij:
test_prod_vm: n2
test_ip_address: 192.168.2.202
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
tn3:
test_ip_address: 192.168.2.203
nomad_node_role: both
nomad_instances:
children:
servers: {}