Skip to content

Commit

Permalink
infra
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Dec 4, 2024
1 parent 05734d9 commit 654a8f3
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 28 deletions.
92 changes: 64 additions & 28 deletions inventory/dev.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,80 @@
[
{
"name": "cluster01",
"name": "control01",
"autostart": true,
"cpus": 2,
"distro": "AlmaLinux",
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.4",
"memory": "8192",
"no_share": true,
"app_port": "22",
"forwarded_port": "2204"
"primary": false
},
{
"name": "cluster02",
"autostart": true,
"cpus": 2,
"distro": "AlmaLinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.5",
"memory": "8192",
"no_share": true,
"app_port": "22",
"forwarded_port": "2205"
"name": "control02",
"autostart": false,
"cpus": 2,
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.5",
"memory": "8192",
"no_share": true,
"primary": false
},
{
"name": "cluster03",
"autostart": true,
"cpus": 2,
"distro": "AlmaLinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.6",
"memory": "8192",
"no_share": true,
"app_port": "22",
"forwarded_port": "2206"
"name": "control03",
"autostart": false,
"cpus": 2,
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.6",
"memory": "8192",
"no_share": true,
"primary": false
},
{
"name": "worker10",
"autostart": true,
"cpus": 2,
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.10",
"memory": "8192",
"no_share": true,
"primary": false
},
{
"name": "worker11",
"autostart": false,
"cpus": 2,
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.11",
"memory": "8192",
"no_share": true,
"primary": false
},
{
"name": "worker12",
"autostart": false,
"cpus": 2,
"distro": "almalinux",
"family": "RedHat",
"gui": false,
"box": "bento/almalinux-8.10",
"ip_addr": "192.168.56.12",
"memory": "8192",
"no_share": true,
"primary": false
}
]
3 changes: 3 additions & 0 deletions inventory/dev/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ controller ansible_host=192.168.56.3
cluster01 ansible_host=192.168.56.4
cluster02 ansible_host=192.168.56.5
cluster03 ansible_host=192.168.56.6
worker10 ansible_host=192.168.56.10
worker11 ansible_host=192.168.56.11
worker12 ansible_host=192.168.56.12


[dev:vars]
Expand Down

0 comments on commit 654a8f3

Please sign in to comment.