feat: add nomad agent role (#206)

- add nomad agent role
- mount cephfs volume nomadfs to /shared/nomad
- manage docker volume path to be /shared/nomad

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/206
This commit was merged in pull request #206.
This commit is contained in:
2024-12-26 20:20:51 +11:00
parent 48e1fb8e30
commit 022a564dc0
8 changed files with 111 additions and 5 deletions
@@ -2,6 +2,14 @@
networking::interfaces:
eth0:
ipaddress: 198.18.13.74
ens19:
ensure: present
family: inet
method: static
ipaddress: 10.18.15.74
netmask: 255.255.255.0
onboot: true
networking::routes:
default:
gateway: 198.18.13.254
gateway: 198.18.13.254
docker::bip: '198.18.64.254/24'
@@ -2,6 +2,14 @@
networking::interfaces:
eth0:
ipaddress: 198.18.13.75
ens19:
ensure: present
family: inet
method: static
ipaddress: 10.18.15.75
netmask: 255.255.255.0
onboot: true
networking::routes:
default:
gateway: 198.18.13.254
gateway: 198.18.13.254
docker::bip: '198.18.65.254/24'
@@ -2,6 +2,14 @@
networking::interfaces:
eth0:
ipaddress: 198.18.13.76
ens19:
ensure: present
family: inet
method: static
ipaddress: 10.18.15.76
netmask: 255.255.255.0
onboot: true
networking::routes:
default:
gateway: 198.18.13.254
gateway: 198.18.13.254
docker::bip: '198.18.66.254/24'