diff options
Diffstat (limited to 'inventory.yml')
-rw-r--r-- | inventory.yml | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/inventory.yml b/inventory.yml index 105b43d..e715339 100644 --- a/inventory.yml +++ b/inventory.yml @@ -40,20 +40,19 @@ all: ansible_host: "dcontroller" ip: { in: "10.10.0.1", out: "185.203.114.234" } services: - - { name: "ssh", proto: "tcp", port: "22", public: "true" } - - { name: "httpd", proto: "tcp", port: "80", public: "true", domain: "www" } - - { name: "wireguard", proto: "udp", port: "53", public: "true" } + - { name: "ssh", proto: "tcp", port: "22", public: true } + - { name: "httpd", proto: "tcp", port: "80", public: true, domain: "www" } + - { name: "wireguard", proto: "udp", port: "53", public: true } # SERVER for vm stack0: ansible_host: "stack0" ip: { in: "10.10.0.40", out: "192.168.5.40" } services: - - { name: "ssh", proto: "tcp", port: "22", public: "false" } - - { name: "nextcloud", proto: "udp", port: "80", public: "true", domain: "cloud" } + - { name: "ssh", proto: "tcp", port: "22" } vms: - - { name: "vm0", iso: "alpine", memory: "2G", size: "4G", enabled: "true" } - - { name: "vm1", iso: "alpine", memory: "2G", size: "4G", enabled: "true" } + - { name: "vm0", iso: "alpine", memory: "6G", size: "4G", enabled: true } + - { name: "vm1", iso: "alpine", memory: "2G", size: "4G", enabled: true } hypervisor: enabled: "true" interface: "bnx0" @@ -66,21 +65,23 @@ all: ansible_host: "emb0" ip: { in: "10.10.0.41", out: "192.168.5.41" } services: - - { name: "ssh", proto: "tcp", port: "22", public: "false" } - - { name: "syncthing", proto: "tcp", port: "8384", public: "false" } + - { name: "ssh", proto: "tcp", port: "22" } + - { name: "syncthing", proto: "tcp", port: "8384" } # VM vm0: ansible_host: "vm0" ip: { in: "10.10.0.60", out: "192.168.5.60" } services: - - { name: "ssh", proto: "tcp", port: "22", public: "false" } + - { name: "ssh", proto: "tcp", port: "22" } + - { name: "minecraft", proto: "tcp, udp", port: "25565", public: true } vm1: ansible_host: "vm1" ip: { in: "10.10.0.61", out: "192.168.5.61" } services: - - { name: "ssh", proto: "tcp", port: "22", public: "false" } + - { name: "ssh", proto: "tcp", port: "22"} + - { name: "nextcloud", proto: "tcp", port: "8080", public: true, domain: "cloud" } # CLIENTS graphite: @@ -108,7 +109,17 @@ all: dcontroller: stack0: emb0: + vm0: + vm1: + # GROUP physical + ph: + hosts: + dcontroller: + stack0: + emb0: + + # GROUP virtual machine vm: hosts: vm0: |