[Add] add mongi dev Environment
This commit is contained in:
parent
9c829ef287
commit
e815b3114f
5
consolemongi.sh
Executable file
5
consolemongi.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
export OS_CLOUD="felcloud_staging"
|
||||
export PULUMI_STACK="staging"
|
||||
export PULUMI_SUB_STACK="consolemongi"
|
||||
export PULUMI_CONFIG_PASSPHRASE_FILE="$PWD/env.d/$PULUMI_STACK/pulumi_passphrase"
|
96
infra/consolemongi.json
Normal file
96
infra/consolemongi.json
Normal file
@ -0,0 +1,96 @@
|
||||
{
|
||||
"application_name": "consolemongi",
|
||||
"INTERNET_Network_ID": "e8d04c1f-0b49-4e87-a1f3-bea618782c90",
|
||||
"network": [{
|
||||
"name": "mongi_console",
|
||||
"bastion_access": "yes",
|
||||
"subnet": {
|
||||
"name":"mongi_console_subnet",
|
||||
"ip_version": 4,
|
||||
"cidr": "172.55.0.0/16",
|
||||
"dns_servers": ["8.8.8.8"],
|
||||
"linked_router": [{"router_name": "mongi_router"}]
|
||||
},
|
||||
"port": [{
|
||||
"name": "vip_console_mongi",
|
||||
"fip_pool": "INTERNET"
|
||||
}]
|
||||
}],
|
||||
"router": [{
|
||||
"router_name": "mongi_router",
|
||||
"router_external_gateway": "e8d04c1f-0b49-4e87-a1f3-bea618782c90",
|
||||
"linked_subnets": [{
|
||||
"router_interface_name": "mongi_console_interface",
|
||||
"subnet_name": "mongi_console_subnet"}]
|
||||
}],
|
||||
"security_group": [
|
||||
],
|
||||
"instance": [{
|
||||
"name": "stg-mongi-bilweb-00",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Atto.L",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_web",
|
||||
"network": [{"name": "mongi_console"}]
|
||||
},
|
||||
{
|
||||
"name": "stg-mongi-bilweb-01",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Atto.L",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_web",
|
||||
"network": [{"name": "mongi_console"}]
|
||||
},
|
||||
{
|
||||
"name": "stg-mongi-billdb-00",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Femto.L",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_database",
|
||||
"network": [{"name": "mongi_console"}]
|
||||
},
|
||||
{
|
||||
"name": "stg-mongi-billdb-01",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Femto.L",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_database",
|
||||
"network": [{"name": "mongi_console"}]
|
||||
},
|
||||
{
|
||||
"name": "stg-mongi-billdb-02",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Femto.L",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_database",
|
||||
"network": [{"name": "mongi_console"}]
|
||||
},
|
||||
{
|
||||
"name": "stg-mongi-bilbas-00",
|
||||
"az": "FR_Roubaix",
|
||||
"flavor": "Atto.S",
|
||||
"image": "Ubuntu 20.04 LTS - Focal",
|
||||
"keypair": "dell XPS",
|
||||
"security_group": ["secgroup_console"],
|
||||
"inventory_group": "mongi_console_bastion",
|
||||
"network": [{"name": "mongi_console"}],
|
||||
"fip": [{
|
||||
"floatingip": "fip_console",
|
||||
"pool": "INTERNET",
|
||||
"bastion_access": "yes"
|
||||
}]
|
||||
}
|
||||
],
|
||||
"volume": [
|
||||
]
|
||||
}
|
19
inventory
19
inventory
@ -15,6 +15,7 @@ stg-bilbas-00 ansible_host=172.53.3.126 ansible_user=ubuntu
|
||||
stg-bilrep-00 ansible_host=172.53.0.130 ansible_user=ubuntu
|
||||
|
||||
[container_biuld]
|
||||
stg-testMourad-00 ansible_host=172.53.1.155 ansible_user=ubuntu
|
||||
stg-conbld-00 ansible_host=172.53.0.185 ansible_user=ubuntu
|
||||
|
||||
[console:children]
|
||||
@ -24,3 +25,21 @@ console_bastion
|
||||
console_database
|
||||
console_web
|
||||
#---- end console inventory ----
|
||||
#---- start consolemongi inventory ----
|
||||
[mongi_console_web]
|
||||
stg-mongi-bilweb-00 ansible_host=172.55.2.184 ansible_user=ubuntu
|
||||
stg-mongi-bilweb-01 ansible_host=172.55.1.235 ansible_user=ubuntu
|
||||
|
||||
[mongi_console_database]
|
||||
stg-mongi-billdb-00 ansible_host=172.55.1.137 ansible_user=ubuntu
|
||||
stg-mongi-billdb-01 ansible_host=172.55.1.131 ansible_user=ubuntu
|
||||
stg-mongi-billdb-02 ansible_host=172.55.0.103 ansible_user=ubuntu
|
||||
|
||||
[mongi_console_bastion]
|
||||
stg-mongi-bilbas-00 ansible_host=172.55.2.117 ansible_user=ubuntu
|
||||
|
||||
[consolemongi:children]
|
||||
mongi_console_bastion
|
||||
mongi_console_database
|
||||
mongi_console_web
|
||||
#---- end consolemongi inventory ----
|
||||
|
Loading…
Reference in New Issue
Block a user