From 39a003aaca64af6ee57cc9f24e782d7dc1047c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 4 Dec 2021 17:09:00 +0000 Subject: inventory: Add per host and group files --- host_vars/dc0.yml | 5 +++++ host_vars/localhost.yml | 2 ++ host_vars/stack0-cld0.yml | 5 +++++ host_vars/stack0-dc1.yml | 5 +++++ host_vars/stack0.yml | 22 ++++++++++++++++++++++ host_vars/ws-bentonite.yml | 3 +++ host_vars/ws-think01.yml | 3 +++ host_vars/ws-xps01.yml | 3 +++ 8 files changed, 48 insertions(+) create mode 100644 host_vars/dc0.yml create mode 100644 host_vars/localhost.yml create mode 100644 host_vars/stack0-cld0.yml create mode 100644 host_vars/stack0-dc1.yml create mode 100644 host_vars/stack0.yml create mode 100644 host_vars/ws-bentonite.yml create mode 100644 host_vars/ws-think01.yml create mode 100644 host_vars/ws-xps01.yml (limited to 'host_vars') diff --git a/host_vars/dc0.yml b/host_vars/dc0.yml new file mode 100644 index 0000000..f517188 --- /dev/null +++ b/host_vars/dc0.yml @@ -0,0 +1,5 @@ +__is_vm: true + +__ip: + external: 185.203.114.234 + internal: 10.10.0.1 diff --git a/host_vars/localhost.yml b/host_vars/localhost.yml new file mode 100644 index 0000000..5bb76b0 --- /dev/null +++ b/host_vars/localhost.yml @@ -0,0 +1,2 @@ +ansible_host: 127.0.0.1 +ansible_connection: local diff --git a/host_vars/stack0-cld0.yml b/host_vars/stack0-cld0.yml new file mode 100644 index 0000000..62e282d --- /dev/null +++ b/host_vars/stack0-cld0.yml @@ -0,0 +1,5 @@ +__is_vm: true + +__ip: + external: 192.168.5.62 + internal: 10.10.0.62 diff --git a/host_vars/stack0-dc1.yml b/host_vars/stack0-dc1.yml new file mode 100644 index 0000000..c681bc0 --- /dev/null +++ b/host_vars/stack0-dc1.yml @@ -0,0 +1,5 @@ +__is_vm: true + +__ip: + external: 192.168.5.60 + internal: 10.10.0.60 diff --git a/host_vars/stack0.yml b/host_vars/stack0.yml new file mode 100644 index 0000000..a6d0500 --- /dev/null +++ b/host_vars/stack0.yml @@ -0,0 +1,22 @@ +__ip: + external: 192.168.5.40 + internal: 10.10.0.40 + +__vms: + - name: stack0-dc1 + image: openbsd + memory: 4G + disks: + - size: 8G + + - name: stack0-cld0 + image: openbsd + memory: 4G + disks: + - size: 8G + + - name: stack0-git0 + image: openbsd + memory: 2G + disks: + - size: 8G diff --git a/host_vars/ws-bentonite.yml b/host_vars/ws-bentonite.yml new file mode 100644 index 0000000..dedc166 --- /dev/null +++ b/host_vars/ws-bentonite.yml @@ -0,0 +1,3 @@ +__ip: + external: dhcp + internal: 10.10.0.80 diff --git a/host_vars/ws-think01.yml b/host_vars/ws-think01.yml new file mode 100644 index 0000000..0fddec5 --- /dev/null +++ b/host_vars/ws-think01.yml @@ -0,0 +1,3 @@ +__ip: + external: dhcp + internal: 10.10.0.82 diff --git a/host_vars/ws-xps01.yml b/host_vars/ws-xps01.yml new file mode 100644 index 0000000..cda287c --- /dev/null +++ b/host_vars/ws-xps01.yml @@ -0,0 +1,3 @@ +__ip: + external: dhcp + internal: 10.10.0.81 -- cgit v1.2.3