feat(inventory): Add NAS component

This commit is contained in:
Tanguy Herbron 2023-11-13 00:34:40 +01:00
parent 658545d9de
commit 6e77283b01
2 changed files with 6 additions and 0 deletions

1
Vagrantfile vendored
View File

@ -14,6 +14,7 @@ Vagrant.configure("2") do |config|
{ :name => "hb-slim-3", :ip => "192.168.56.13"}, { :name => "hb-slim-3", :ip => "192.168.56.13"},
{ :name => "hb-wide-1", :ip => "192.168.56.101", :cpus => 2, :memory => 4096}, { :name => "hb-wide-1", :ip => "192.168.56.101", :cpus => 2, :memory => 4096},
{ :name => "hb-wide-2", :ip => "192.168.56.102", :cpus => 2, :memory => 4096}, { :name => "hb-wide-2", :ip => "192.168.56.102", :cpus => 2, :memory => 4096},
{ :name => "nas", :ip => "192.168.56.200", :cpus => 2, :memory => 4096},
] ]
boxes.each do |opts| boxes.each do |opts|

View File

@ -40,6 +40,11 @@ all:
k3s_label: k3s_label:
- type=worker - type=worker
- size=slim - size=slim
nas:
ansible_host: 192.168.56.200
is_nas: true
hostname: nas
wireguard_ip: 10.20.0.100
children: children:
master: master:
hosts: hosts: